Luke_A_Somers comments on New Monthly Thread: Bragging - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (145)
It is not clear to me why the above code works. In particular, the 10^80 part.
A number mod 10^n yields the last n digits of the number.
Aaah. it was just saying how much to output. Phew. I was trying to figure out what 10^80 could have to do with 3^^^3 and failing, hard. So, it's a great relief that the answer is, 'nothing'.
Technically, I have not used the fact that the number in question is 3^^^3 -- I am treating it as 3^^X, where X is very large. So for huge numbers of digits, this will not give the correct answer, but I don't think it's practical to compute that many digits, in any case.
Should I explain how everything else works?
Nah, I just figured that the named functions were something relevant, and I'm satisfied with that level of knowledge at this point.