login
A164448
Number of binary strings of length n with no substrings equal to 0001 0010 or 0111.
1
13, 21, 33, 51, 77, 116, 173, 257, 380, 561, 826, 1215, 1785, 2621, 3846, 5642, 8274, 12132, 17786, 26073, 38218, 56018, 82105, 120338, 176371, 258492, 378846, 555234, 813743, 1192607, 1747859, 2561621, 3754247, 5502126, 8063767, 11818035
OFFSET
4,1
FORMULA
G.f.: -x^4*(13-5*x-9*x^2-2*x^3-4*x^4+8*x^5) / ( (1+x)*(x^3+x-1)*(x-1)^2 ). - R. J. Mathar, Jan 19 2011
MATHEMATICA
LinearRecurrence[{2, 0, -1, 0, -1, 1}, {13, 21, 33, 51, 77, 116}, 40] (* Harvey P. Dale, Apr 10 2019 *)
CROSSREFS
Sequence in context: A164438 A164490 A164460 * A164424 A164450 A164461
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved