OFFSET
1,2
COMMENTS
For some n, a(n+1)-a(n)=1.
PROG
(PARI) for(n=1, 50, s=1; while(abs(n+sum(i=1, s, sign((-1)^floor((3/2)^i))))>0, s++); print1(s, ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 22 2002
STATUS
approved