OFFSET
1,3
COMMENTS
Variant of A292381. Here the most significant 1-bit is at the one step smaller position.
LINKS
FORMULA
a(1) = 0, a(2) = 1, and for n > 2, a(n) = 2*a(A252463(n)) + [n == 1 (mod 4)], where the last part of the formula is Iverson bracket, giving 1 only if n is of the form 4k+1, and 0 otherwise.
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 16 2017
STATUS
approved