OFFSET
0,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
EXAMPLE
626^3 + 1 == 377 (mod 10^3), 377^3 + 1 == 634 (mod 10^3), 634^3 + 1 == 105 (mod 10^3) and 105^3 + 1 == 626 (mod 10^3), so 6 2 6 comprise the sequence's first three terms.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Seiichi Manyama, Aug 24 2018
STATUS
approved