Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Print 1 followed by googolplex number of zeros

Tags:

algorithm

Assuming we are not concerned about running time of the program (which is practically infinite for human mortals) and using limited amount of memory (2^64 bytes), we want to print out in base 10, the exact value of 10^(googolplex), one digit at a time on screen (mostly zeros).

Describe an algorithm (which can be coded on current day computers), or write a program to do this. Since we cannot practically check the output, so we will rely on collective opinion on the correctness of the program.

NOTE : I do not know the solution, or whether a solution exists or not. The problem is my own invention. To those readers who are quick to mark this offtopic... kindly reconsider. This is difficult and bit theoretical but definitely CS.

like image 687
Rajan Avatar asked Jan 13 '11 01:01

Rajan


People also ask

What number is 1 followed by a googolplex zeros?

A googolplex is the number 10googol, or equivalently, 1010100 or 1010,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 . Written out in ordinary decimal notation, it is 1 followed by 10100 zeroes; that is, a 1 followed by googol zeroes.

What is this number 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000?

A googol, officially known as ten-duotrigintillion or ten thousand sexdecillion, is a 1 with one hundred zeros after it. Written out, a googol looks like this: 10,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000.

What number is bigger than 1 googolplex?

Graham's number is bigger than the googolplex. It's so big, the Universe does not contain enough stuff on which to write its digits: it's literally too big to write. But this number is finite, it's also an whole number, and despite it being so mind-bogglingly huge we know it is divisible by 3 and ends in a 7.


1 Answers

This is impossible. There are more states (10^(10^100)) in the program than there are electrons in the universe (~10^80). Therefore, in our universe, there can be no such realization of a machine capable of executing the task.

like image 162
jason Avatar answered Oct 06 '22 16:10

jason