OFFSET
1,2
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)?
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
If k>=0, a(2k+5432)=27113+10k, a(2k+5433)=48815+18k.
MATHEMATICA
nxt[{n_, a_}]:={n+1, If[EvenQ[a+n], (a+n)/2, (3(a+n)+1)/2]}; Transpose[ NestList[ nxt, {1, 0}, 70]][[2]] (* Harvey P. Dale, Mar 24 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 29 2002
STATUS
approved