OFFSET
1,5
LINKS
FORMULA
a(1) = 0, and for n > 1, a(n) = 2*a(A252463(n)) + [n == 3 (mod 6)], where the last part of the formula is Iverson bracket, giving 1 only if n is of the form 6k+3, and 0 otherwise.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 28 2017
STATUS
approved