OFFSET
1
COMMENTS
Also the characteristic function of A094373.
Also the second row of square array A255740.
The definition related to binary weight (A000120) arises from the general formula of the square array A255740.
After the initial 1,1,1, we see runs of 2^m-1 0's (m=1,2,3,...) followed by a single 1. - N. J. A. Sloane, Mar 16 2017
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
A. J. Macfarlane, Generating functions for integer sequences defined by the evolution of cellular automata with even rule numbers, 2016. See Eq. (72).
PROG
(PARI) a(n) = if (n==1, 1, 0^(hammingweight(n-1)-1));
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Michel Marcus and Omar E. Pol, Mar 16 2015
STATUS
approved