OFFSET

1,1

COMMENTS

Starting with 4th term the sequence coincides with sequence with a(1)=2. Also starting with 49th term both sequence coincide with the sequence with a(1)=1! Surprisingly, the sequence with a(1)=4&5 also coincide with all above sequence starting with 49th term.

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

MATHEMATICA

nxt[{n_, a_}]:={n+1, FactorInteger[a+n+1][[-1, 1]]}; Transpose[NestList[nxt, {1, 3}, 80]][[2]] (* Harvey P. Dale, Apr 14 2015 *)

CROSSREFS

KEYWORD

easy,nonn

AUTHOR

Zak Seidov, Oct 19 2002

STATUS

approved