Calculating digits of Grahams' Number

  • Thread starter Thread starter madmike159
  • Start date Start date
AI Thread Summary
Graham's number is an extremely large number that cannot be expressed conventionally and is defined using Knuth's up-arrow notation, specifically as 3 ↑↑↑↑ 3. The discussion centers on creating a program in C# to calculate digits of Graham's number, with a request for guidance on the algorithm. The user is struggling to understand existing Python examples and seeks clarification on the calculation method. A suggestion is made to use the modulus function recursively to determine the rightmost decimal digits of Graham's number. Links to relevant Wikipedia articles are provided for further reading on both Graham's number and Knuth's up-arrow notation.
madmike159
Gold Member
Messages
369
Reaction score
0
I was reading random topics on Wikipedia the other day, and saw something about the first 500 numbers of Grahams' Number.

I want to create a program (probably in C#) to calculate as many digits from it as I can, but I haven't be able to make sense of the way it is done. Would someone be able to give me a hint of how the algorithm works. The only examples I was able to find were written in Python, which I wasn't really able to get my head around.
 
Technology news on Phys.org
madmike159 said:
I was reading random topics on Wikipedia the other day, and saw something about the first 500 numbers of Grahams' Number.

I want to create a program (probably in C#) to calculate as many digits from it as I can, but I haven't be able to make sense of the way it is done. Would someone be able to give me a hint of how the algorithm works. The only examples I was able to find were written in Python, which I wasn't really able to get my head around.
It would be helpful if you told us what Graham's number is, with maybe a link to an article about it and possibly the algorithm that you would like to implement in C#.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Back
Top