OFFSET
0,1
COMMENTS
Least prime p such that A240162(p) == n (mod p). - Jinyuan Wang, Aug 30 2020
LINKS
Jinyuan Wang, Table of n, a(n) for n = 0..100
Wikipedia, Graham's number
EXAMPLE
a(2) = 5 because 3^3^3^... - 2 = 0 (mod 5).
CROSSREFS
KEYWORD
nonn
AUTHOR
Karl W. Heuer, Nov 28 2008
STATUS
approved