The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A228612 Number of (possibly overlapping) occurrences of the subword given by the binary expansion of n in all binary words of length n. 2
0, 1, 1, 4, 4, 12, 32, 80, 80, 192, 448, 1024, 2304, 5120, 11264, 24576, 24576, 53248, 114688, 245760, 524288, 1114112, 2359296, 4980736, 10485760, 22020096, 46137344, 96468992, 201326592, 419430400, 872415232, 1811939328, 1811939328, 3758096384, 7784628224 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
a(2^n) = a(2^n-1) for n>0.
LINKS
FORMULA
a(n) = Sum_{k>0} k*A233940(n,k).
EXAMPLE
a(3) = 4 because we have one subword 11 in each of 011, 110 and two overlapping occurrences of 11 in 111.
a(4) = 4 because we have one subword 100 in each of 0100, 1000, 1001, 1100 and no other occurrences in binary words of length 4.
a(5) = 12 because we have one subword 101 in each of 00101, 01010, 01011, 01101, 10100, 10110, 10111, 11010, 11011, 11101 and two overlapping occurrences of 101 in 10101.
CROSSREFS
Cf. A233940.
Sequence in context: A298796 A106232 A359709 * A038804 A183362 A353615
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Dec 18 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 07:22 EDT 2024. Contains 372498 sequences. (Running on oeis4.)