|
| |
|
|
A056974
|
|
Number of blocks of {0, 0, 0} in the binary expansion of n.
|
|
10
| |
|
|
0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 3, 2, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 4, 3, 2, 2, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 3, 2, 1, 1, 0, 0, 0
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,16
|
|
|
LINKS
| Eric Weisstein's World of Mathematics, Digit Block
|
|
|
FORMULA
| a(2n) = a(n) + [n congruent to 0 mod 4], a(2n+1) = a(n). - Ralf Stephan (ralf(AT)ark.in-berlin.de), Aug 22 2003
|
|
|
PROG
| (PARI) a(n)=my(v=binary(n)); sum(i=3, #v, v[i]+v[i-1]+v[i-2]==0) \\ Charles R Greathouse IV, Dec 07 2011
|
|
|
CROSSREFS
| Cf. A014082, A056974, A056975, A056976, A056977, A056978, A056979, A056980.
Sequence in context: A037859 A037877 A010109 * A181563 A056976 A124749
Adjacent sequences: A056971 A056972 A056973 * A056975 A056976 A056977
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Eric Weisstein (eric(AT)weisstein.com)
|
| |
|
|