Eban numbers: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m →{{header|Perl 6}}: Style tweaks |
Thundergnat (talk | contribs) m →{{header|Perl}}: Fix mislabled sections. Thanks Gerard! |
||
Line 374: | Line 374: | ||
for my $exp (1..$max) { |
for my $exp (1..$max) { |
||
my $nu = $count[$exp-1]; |
my $nu = $count[$exp-1]; |
||
printf " |
printf "Up to and including %23s: %s\n", lc(num2word(10**$exp)), comma($nu); |
||
} |
} |
||
}</lang> |
}</lang> |
||
Line 385: | Line 385: | ||
Counts of e-ban numbers up to one sextillion |
Counts of e-ban numbers up to one sextillion |
||
Up to and including ten: 3 |
|||
Up to and including one hundred: 19 |
|||
Up to and including one thousand: 19 |
|||
Up to and including ten thousand: 79 |
|||
Up to and including one hundred thousand: 399 |
|||
Up to and including one million: 399 |
|||
Up to and including ten million: 1,599 |
|||
Up to and including one hundred million: 7,999 |
|||
Up to and including one billion: 7,999 |
|||
Up to and including ten billion: 31,999 |
|||
Up to and including one hundred billion: 159,999 |
|||
Up to and including one trillion: 159,999 |
|||
Up to and including ten trillion: 639,999 |
|||
Up to and including one hundred trillion: 3,199,999 |
|||
Up to and including one quadrillion: 3,199,999 |
|||
Up to and including ten quadrillion: 12,799,999 |
|||
Up to and including one hundred quadrillion: 63,999,999 |
|||
Up to and including one quintillion: 63,999,999 |
|||
Up to and including ten quintillion: 255,999,999 |
|||
Up to and including one hundred quintillion: 1,279,999,999 |
|||
Up to and including one sextillion: 1,279,999,999 |
|||
============= t-ban: ============= |
============= t-ban: ============= |
||
Line 415: | Line 415: | ||
Counts of t-ban numbers up to one sextillion |
Counts of t-ban numbers up to one sextillion |
||
Up to and including ten: 7 |
|||
Up to and including one hundred: 9 |
|||
Up to and including one thousand: 56 |
|||
Up to and including ten thousand: 56 |
|||
Up to and including one hundred thousand: 56 |
|||
Up to and including one million: 57 |
|||
Up to and including ten million: 392 |
|||
Up to and including one hundred million: 393 |
|||
Up to and including one billion: 2,745 |
|||
Up to and including ten billion: 19,208 |
|||
Up to and including one hundred billion: 19,209 |
|||
Up to and including one trillion: 134,456 |
|||
Up to and including ten trillion: 134,456 |
|||
Up to and including one hundred trillion: 134,456 |
|||
Up to and including one quadrillion: 134,457 |
|||
Up to and including ten quadrillion: 941,192 |
|||
Up to and including one hundred quadrillion: 941,193 |
|||
Up to and including one quintillion: 6,588,344 |
|||
Up to and including ten quintillion: 6,588,344 |
|||
Up to and including one hundred quintillion: 6,588,344 |
|||
Up to and including one sextillion: 6,588,344 |
|||
============= subur-ban: ============= |
============= subur-ban: ============= |
||
Line 445: | Line 445: | ||
Counts of subur-ban numbers up to one sextillion |
Counts of subur-ban numbers up to one sextillion |
||
Up to and including ten: 6 |
|||
Up to and including one hundred: 35 |
|||
Up to and including one thousand: 35 |
|||
Up to and including ten thousand: 35 |
|||
Up to and including one hundred thousand: 35 |
|||
Up to and including one million: 36 |
|||
Up to and including ten million: 216 |
|||
Up to and including one hundred million: 1,295 |
|||
Up to and including one billion: 1,295 |
|||
Up to and including ten billion: 1,295 |
|||
Up to and including one hundred billion: 1,295 |
|||
Up to and including one trillion: 1,295 |
|||
Up to and including ten trillion: 1,295 |
|||
Up to and including one hundred trillion: 1,295 |
|||
Up to and including one quadrillion: 1,295 |
|||
Up to and including ten quadrillion: 1,295 |
|||
Up to and including one hundred quadrillion: 1,295 |
|||
Up to and including one quintillion: 1,295 |
|||
Up to and including ten quintillion: 1,295 |
|||
Up to and including one hundred quintillion: 1,295 |
|||
Up to and including one sextillion: 1,295</pre> |
|||
=={{header|Perl 6}}== |
=={{header|Perl 6}}== |