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