OFFSET
0,1
COMMENTS
a(0) and a(1) are chosen to be the smallest starting numbers greater than 1 that are believed to result in a sequence that doesn't cycle.
Empirical observation of the first 10^8 terms suggests that the sequence doesn't enter a cycle.
Conjectures: (i) This sequence doesn't enter a cycle. (ii) There is an integer greater than 1 that can never appear in this sequence.
EXAMPLE
a(2) = a(a(2-1) mod 2) + a(a(2-2) mod 2) = a(a(1) mod 2) + a(a(0) mod 2) = a(3 mod 2) + a(2 mod 2) = a(1) + a(0) = 3 + 2 = 5.
PROG
(Python)
a = [2, 3]
for n in range(2, 10**4 + 3):
a.append(a[(a[n - 1] % n)] + a[(a[n - 2] % n)])
print((n - 2), ", ", a[n - 2], sep="")
CROSSREFS
KEYWORD
nonn
AUTHOR
Arran Ireland, Jun 26 2019
STATUS
approved