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
Franklin T. Adams-Watters, Jul 10 2009
STATUS
approved