login
A162696
Trajectory of 1 under morphism taking n to sorted divisors of n+1.
0
1, 2, 1, 3, 1, 2, 1, 2, 4, 1, 2, 1, 3, 1, 2, 1, 3, 1, 5, 1, 2, 1, 3, 1, 2, 1, 2, 4, 1, 2, 1, 3, 1, 2, 1, 2, 4, 1, 2, 1, 2, 3, 6, 1, 2, 1, 3, 1, 2, 1, 2, 4, 1, 2, 1, 3, 1, 2, 1, 3, 1, 5, 1, 2, 1, 3, 1, 2, 1, 2, 4, 1, 2, 1, 3, 1, 2, 1, 3, 1, 5, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 4, 1, 7, 1, 2, 1, 3, 1, 2, 1, 2, 4, 1, 2
OFFSET
1,2
COMMENTS
1 -> 1,2; 2->1,3; 3->1,2,4; ...
FORMULA
a(A117160(k+1)) = k (this is the first occurrence of k in the sequence). - Rémy Sigrist, Jan 14 2023
EXAMPLE
1 -> 1,2 -> 1,2,1,3 -> 1,2,1,3,1,2,1,2,4 -> ...
PROG
(PARI) v=[1, 2]; for(i=2, 60, v=concat(v, divisors(v[i]+1))); v
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved