OFFSET
1,5
COMMENTS
Eventually constant: a(n) = 9^9^9 for all n > 9^9^9 ~ 4.28*10^369693099. - M. F. Hasler, Feb 24 2018
LINKS
Math Forum, Dr. Math 9^387420489, [09/10/1997]
Math Forum, Dr. Math Digits of 9^9^9, 06/11/2003
FORMULA
a(n) = 0 for all n = 3^k, 0 <= k <= 2*9^9; a(n) = 9^9^9 for all n > 9^9^9. - M. F. Hasler, Feb 24 2018
EXAMPLE
[9^(9^9)] mod 1 =0
[9^(9^9)] mod 2 =1
[9^(9^9)] mod 9 =0
[9^(9^9)] mod (3*387420489) =0
MATHEMATICA
Table[PowerMod[9, 9^9, n], {n, 1, 100}]
PROG
(PARI) a(n)=lift(Mod(9, n)^9^9) \\ Charles R Greathouse IV, Jul 02 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Marvin Ray Burns, May 19 2007
STATUS
approved