ROSECODE 327
Graham Numbers
Let's define
We define :
The last digits of this humongous number are known:
We define
What is the smallest prime number p such as G(p) contains the string '1415' in its last 100 digits.
Answer format: p,the last digits starting with '1415'
Example: 3,8485186439059104575627262464195387 // If we ask for the smallest p such as G(p) contains '8485'.
[My timing: 4 sec]