login
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
OFFSET
4,1
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
Sequence in context: A336263 A059408 A164455 * A162245 A159302 A172187
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved