
-----------------------------------
Aegis2
Tue Feb 16, 2010 9:12 pm

Its about a googolplex!
-----------------------------------
Somebody decided to challenge himself. In writing a program that will write out a googolplex in its expanded form, i.e 1 and a googol zeroes behind it. They decided to use a computer since its the fastest thing around. So anyways, this is the program they used, its on turing by the way. 
var output : int
open : output, "Googol.txt", put
put : output, "1" ..
for a : 1 .. 100000
    for b : 1 .. 100000
        for c : 1 .. 100000
            for d : 1 .. 100000
                for e : 1 .. 100000
                    for f : 1 .. 100000
                        for g : 1 .. 100000
                            for h : 1 .. 100000
                                for i : 1 .. 100000
                                    for j : 1 .. 100000
                                        for k : 1 .. 100000
                                            for l : 1 .. 100000
                                                for m : 1 .. 100000
                                                    for n : 1 .. 100000
                                                        for o : 1 .. 100000
                                                            for p : 1 .. 100000
                                                                for q : 1 .. 100000
                                                                    for r : 1 .. 100000
                                                                        for s : 1 .. 100000
                                                                            for t : 1 .. 100000
                                                                                put : output, "0"..
                                                                            end for
                                                                        end for
                                                                    end for
                                                                end for
                                                            end for
                                                        end for
                                                    end for
                                                end for
                                            end for
                                        end for
                                    end for
                                end for
                            end for
                        end for
                    end for
                end for
            end for
        end for
    end for
end for
close : output

It took aprox. 1hour to finish this run and the file turned out to be under 2 gb. I just want to ask if it is possible that this could be done, if its possible to write out a googol 0s. Though, remember a googolplex is ten to the power of a googol. And a googol is ten to the power of 100. Or search it up on google if you don't know what it is still.

My opinion towards this, is that Turing didn't run the whole thing, it stopped somewhere because the file is getting too large or the comp can't handle anymore, but anyways it could also be something wrong with the code, just look it through and see if it's is even possibe.

-----------------------------------
chrisbrown
Tue Feb 16, 2010 9:37 pm

RE:Its about a googolplex!
-----------------------------------
Hahaha this amuses me!

In short, no, it's not possible to create a file containing the number googolplex (i.e. a googol  or so characters) with the technology we have right now.

An interesting search result for googolplex that addresses this

-----------------------------------
Aegis2
Tue Feb 16, 2010 10:24 pm

Re: Its about a googolplex!
-----------------------------------
Well could you explai. To them why it is impossible? Well I know but they seem convinced that they reached a googol zero just because the program stopped running. They won't believe my explanation so I want a third person to justify with me.

-----------------------------------
DtY
Tue Feb 16, 2010 10:33 pm

RE:Its about a googolplex!
-----------------------------------
If it finished, the output should be 10**100+1 bytes (a single one, followed by a googol zeroes), which is 8881784197001252323389053344726562500000000000000000000000000000000000000000000000000 pB

This number is just a little bit bigger than 2gB, so it can't be storing the number.

I imagine that 2gB is the file size limit on your filesystem.

-----------------------------------
Tony
Tue Feb 16, 2010 10:36 pm

RE:Its about a googolplex!
-----------------------------------
Does your hard drive have that many bytes?

Hint: It does not. http://www.google.ca/search?hl=en&q=10**100+bytes+in+gigabytes

-----------------------------------
Turing_Gamer
Wed Feb 17, 2010 8:21 am

Re: Its about a googolplex!
-----------------------------------
What language are you using? C++?

-----------------------------------
USEC_OFFICER
Wed Feb 17, 2010 12:44 pm

RE:Its about a googolplex!
-----------------------------------
He said turing.

-----------------------------------
Turing_Gamer
Thu Feb 18, 2010 8:35 am

Re: Its about a googolplex!
-----------------------------------
Oh sorry didn't catch that... *Feels Embarassed  :oops: *

-----------------------------------
USEC_OFFICER
Thu Feb 18, 2010 12:40 pm

RE:Its about a googolplex!
-----------------------------------
It's ok, we all do it.
