login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A255738
a(1) = 1; for n > 1, a(n) = 1*0^{A000120(n-1) - 1}.
6
1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1
COMMENTS
Also the characteristic function of A094373.
Essentially the same as A036987 and A209229, except for the indexing.
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.
Partial sums give A070941, the second row of the square array A255741.
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
PROG
(PARI) a(n) = if (n==1, 1, 0^(hammingweight(n-1)-1));
KEYWORD
nonn,less
AUTHOR
Michel Marcus and Omar E. Pol, Mar 16 2015
STATUS
approved