|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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.
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
|
|
LINKS
|
|
|
PROG
|
(PARI) a(n) = if (n==1, 1, 0^(hammingweight(n-1)-1));
|
|
CROSSREFS
|
Cf. A000007, A000120, A011782, A036987, A040000, A070941, A094373, A151787, A145682, A209229, A255740, A255741.
|
|
KEYWORD
|
nonn,less
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|