OFFSET
1,3
COMMENTS
Let a(1) be any integer >=0, is there always a positive integer N such that if n>=N a(n+2)-a(n)= 10 or 18 (depending on the parity of n)?
FORMULA
For k>=1 a(2k+12)=13+10k, a(2k+11)=17+18k
MATHEMATICA
nxt[{a_, b_}]:=If[EvenQ[a+b], {a+1, (a+b)/2}, {a+1, (3(b+a)+1)/2}]; Transpose[ NestList[nxt, {1, 1}, 60]][[2]] (* Harvey P. Dale, Apr 01 2012 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 29 2002
STATUS
approved