|
|
A164465
|
|
Number of binary strings of length n with no substrings equal to 0001 0100 or 1010.
|
|
1
|
|
|
13, 21, 35, 59, 99, 165, 274, 455, 756, 1256, 2086, 3464, 5752, 9551, 15859, 26333, 43724, 72600, 120546, 200156, 332341, 551822, 916250, 1521349, 2526060, 4194290, 6964232, 11563465, 19200067, 31879940, 52933699, 87891523, 145935764
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
4,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -x^4*(-13+5*x-6*x^2+3*x^3+5*x^4-4*x^5+8*x^6) / ( (x-1)*(x^6+x^4+x^3+x-1) ). - R. J. Mathar, Jan 19 2011
|
|
MATHEMATICA
|
LinearRecurrence[{2, -1, 1, 0, -1, 1, -1}, {13, 21, 35, 59, 99, 165, 274}, 40] (* Harvey P. Dale, Mar 17 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|