OFFSET
1,1
COMMENTS
This sequence is finite, the last term a(15) = 760 is even.
Conjecture: for any initial term a(1), this recursion gives a finite sequence (ends with an even term).
Theorem: for odd a(n), a(n+1) is even if and only if ord_{a(n)}(2) is odd and (a(n) mod ord_{a(n)}(2)) is odd.
PROG
(PARI) lista(nn) = {a = 3; print1(a, ", "); for (n=2, nn, k = a+1; while (Mod(2, a)^(k-1) != 1, k++); a = k; print1(a, ", "); if (!(a%2), break); ); } \\ Michel Marcus, Mar 24 2019
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Thomas Ordowski, Mar 12 2019
STATUS
approved