Hi,
Quote:
Originally Posted by grail
Well my math was a little rusty, but I used the following:
Code:
((36! / 28!)*10)/1024^4 ~ 11.1Tib
|
I've been playing with the above and cannot get correct numbers when creating tests. I think it has got to do with XY! not using aaaaaaaa bbbbbbbb etc
0-9 on 2 positions => 100 (10^2) combo's, not (10!/8!) => 90
0-9 on 3 positions => 1000 (10^3) combo's, not (10!/7!) => 720
Took me a while, but after trail and error I came up with this:
Code:
((36^8) * (8+1)) / 1024^4 ~= 23 Tb
Not that the OP will be happier with that number
Using: 4 positions, using a-z + 0-9:
Code:
$ ./word.generator.sh 4 4 a n > 4pos.36
$ ls -l 4pos.36
-rw-r----- 1 druuna internet 8398080 Oct 3 22:27 4pos.36
$ wc -c 4pos.36
8398080 4pos.36
$ echo "((36^4) * (4+1))" | bc
8398080