The Nine Billionth Name of God
B3A761B38

by Arne Sommer

The Nine Billionth Name of God with Raku - Part 7: B3A761B38

[300.7] Published 27. October 2026.

[ Index | Introduction | Base | Recursion | Loops | Summary | RakuConf | B3A761B38 ]

The Nine Billionth name is B3A761B38, given that the alphabet has the 13 "letters" 1-9, A-D.

If you want to have a go at it, this is the command:

$ ./generate-words-loops -a=13

I gave up calculating the answer in August 2024, as it took too long to compute. I have gotten a faster computer now, so here are the updated results. The alphabet size is specified with the «-a» command line option, and the time usage is easily reported by adding «time» before the command. E.g.:

$ time  ./generate-words-loops -a=1
Alphabet Size Number of Words Percent of Target Run Time Base Run Time Recursion Run Time Loops Last Name
1 30 0.16s 0.18s 0.23s 111
2 6500 0.28s 0.34s 0.36s 222122212
3 25,2030.0002 2.8s 9.3s 2.6s 333233323
4 325,0920.0036 31s 2m 28s34.7s 444344434
5 2,347,9550.026 4m 7s - 3m 28s 555455545
6 11,813,8380.1312 21m 44s- 17m 7s 666566656
7 46,374,1950.5152 1h 16m - 1h 5m 777677767
8 151,820,1681.6868 3h 57m - 3h 25m 888788878
9 432,661,3474.8073 10h 53m- 8h 47m 999899989
10 1,105,113,81012.279 - - 25h 43mAAA9AAA9A
11 2,583,116,72328.7012- - 53h 29mBBBABBBAB
12 5,610,940,14062.3437- - 5d 8h CCCBCCCBC
13 9,000,000,000100 - - 7d 14h B3A761B38
13*11,459,252,883127.325- - 11d DDDCDDDCD

The last one (marked 13*) is the result of removing the «stop at target» condition. Then we go through all the combinations, and the last name is DDDCDDDCD. Almost eleven and a half billion names...

[ Index | Introduction | Base | Recursion | Loops | Summary | RakuConf | B3A761B38 ]