Skip to main content
Code Review

Return to Revisions

2 of 2
improve formatting of maths
Gareth Rees
  • 50.1k
  • 3
  • 130
  • 210

I may be missing something but it looks as if you should have a quick (or longer) look at the maths:

... create every possible permutation of a username with a length of between 4 and 255 characters

For a length 4 name there are 4 slots, each with 62 possible values. There are thus \$ 62^4 = 14,776,336 \$ possible names.

For length 128, there are \$ 62^{128} \approx 2.6677 ×ばつ 10^{229} \$ possible names.

For length 255, there are \$ 62^{255} \approx 1.1478 ×ばつ 10^{457} \$ possible names.

For comparison, an estimate of the number of atoms in the universe is between \$ 10^{78} \$ and \$ 10^{82} \$.

AlanT
  • 3.6k
  • 18
  • 18
default

AltStyle によって変換されたページ (->オリジナル) /