|
|
A164504
|
|
Number of binary strings of length n with no substrings equal to 0011 0101 or 1010.
|
|
1
|
|
|
13, 22, 36, 58, 93, 148, 234, 368, 576, 898, 1395, 2160, 3335, 5136, 7891, 12098, 18512, 28276, 43119, 65654, 99826, 151586, 229904, 348290, 527077, 796846, 1203561, 1816264, 2738601, 4126078, 6211884, 9345518, 14050545, 21110920, 31699962
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
4,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -x^4*(-13+4*x-5*x^2+18*x^3+5*x^4+8*x^5) / ( (x^3+x-1)^2 ). - R. J. Mathar, Jan 19 2011
|
|
MATHEMATICA
|
LinearRecurrence[{2, -1, 2, -2, 0, -1}, {13, 22, 36, 58, 93, 148}, 40] (* Harvey P. Dale, Nov 13 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|