Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
I need a text document with every possible combination of words on it anywhere from 1-20 character spaces?
Every number and letter. As in, I need a giant text document that goes like
0
1
2
3
4
5
6
7
8
9
10
11
12
13
And continues on like that until every possible combination that the letters and numbers could be in has been achieved. Does anyone know where I could find something that generates that or just a download of it?
Like this
0
1
2
3
4
5
6
7
8
9
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
00
01
02
03
04
05
06
07
08
09
0a
0b
0c
0d
0e
0f
0g
0h
0i
0j
0k
0l
0m
0n
0o
0p
0q
0r
0s
0t
0u
0v
0w
0x
0y
0z
10
11
12
13
14
15
16
17
18
19
1a
1b
1c
It lays up all possible combinations then after it runs out of combinations in one string of characters (a string is how many maximum characters there can be, it adds one more digit to the string and lays up more combinations. It does this until it reaches all possible combinations that can be made with anywhere between 1-20 character spaces. But I don't want to write it all out by hand like I just did with the above example. If someone knows a generator that can do that for me or who knows how to code and can come up with a text document and post it on mediafire or something, that'd be so great of you. Thanks for reading.
2 Answers
- green meklarLv 79 years agoFavorite Answer
You can't have such a thing. Do the math: If you use ASCII to represent the characters, that comes to about 2.88*10^32 bytes. That is to say, about 288 nonillion bytes. The reason you've never heard the term 'nonillion' before is because it's a really huge number. Like, if each man, woman and child in the entire world were holding seven 1-terabyte hard drives AND another whole planet Earth with that many MORE people each holding seven 1-terabyte hard drives, that still wouldn't be quite enough to contain it all. Furthermore, if every planet in our galaxy had as many people on it as the Earth, and all those people were reading through the data at typical human reading speed, it would take them collectively almost 40 years to finish reading it. That's the kind of absurd scale you're looking at here.
That said, there is no good reason why you couldn't have a program which dynamically displays arbitrary sections of this giant file, without actually generating the entire thing all at once. In fact, I wrote a Javascript program a while back that did almost exactly that. You can find a downloadable copy here, if you're interested: