login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065495 Number of (binary) bit strings of length n in which an odd length block of 0's is followed by an odd length block of 1's. 3
1, 2, 6, 14, 32, 72, 156, 336, 712, 1496, 3120, 6464, 13328, 27360, 55968, 114144, 232192, 471296, 954816, 1931264, 3900800, 7869312, 15858432, 31928832, 64232704, 129128960, 259431936, 520941056, 1045557248, 2097616896 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,2

LINKS

Table of n, a(n) for n=2..31.

Index entries for linear recurrences with constant coefficients, signature (2,2,-2,-4).

FORMULA

G.f.: x^2/[(1-2x)(1-2x^2-2x^3)]

EXAMPLE

a(4)=6 because of 0100,0101,1010,1101,0111,0001

CROSSREFS

Cf. A061279 [=2^n - a(n)], A065455, A065494, A065497.

Sequence in context: A232434 A096238 A074878 * A131352 A232230 A294780

Adjacent sequences:  A065492 A065493 A065494 * A065496 A065497 A065498

KEYWORD

nonn,easy

AUTHOR

Len Smiley, Nov 24 2001

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 10 15:09 EST 2019. Contains 329896 sequences. (Running on oeis4.)