OFFSET
1,2
LINKS
Robert Munafo, 2^^N == 2^(2^N) mod N
EXAMPLE
3 is in the sequence because 2^2^3 = 2^8 = 256 == 1 mod 3, and 2^^3 = 2^2^2 = 2^4 = 16 == 1 mod 3.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert Munafo, Jun 24 2009
STATUS
approved