OFFSET
1,3
COMMENTS
It appears (1) that a(3n+2)=1 for n=1,2,3,... and (2) that the sequence {a(3n+3)-a(3n)}={3,2,2,3,3,2,3,2,3,2,2,3,3,2,2,3,3,2,...} consists only of 2's and 3's and that the sequence of the lengths of runs of consecutive 3's in {a(3n+3)-a(3n)} is given by {1,2,1,1,2,2,2,1,...}=A026465.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
FORMULA
It appears that abs(a(n+2)-a(n+1)) = A101544(n) for any n > 0. - Rémy Sigrist, Apr 12 2020
PROG
(PARI) { my(s=0, v=1, d); for (n=1, 79, print1 (v, ", "); for (w=1, oo, if (!bittest(s, d=abs(v-w)), s+=2^d; v=w; break))) } \\ Rémy Sigrist, Apr 12 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
John W. Layman, Feb 19 2003
STATUS
approved