|
|
A164487
|
|
Number of binary strings of length n with no substrings equal to 0001, 1010, or 1100.
|
|
1
|
|
|
1, 2, 4, 8, 13, 20, 30, 44, 64, 93, 135, 196, 285, 415, 605, 883, 1290, 1886, 2759, 4038, 5912, 8658, 12682, 18579, 27221, 39886, 58447, 85649, 125515, 183941, 269568, 395060, 578977, 848520, 1243554, 1822504, 2670996, 3914521, 5736995, 8407960, 12322449
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (x^6+x^4-x^2+x-1)/((x^3+x-1)*(x-1)^2). - R. J. Mathar, Jan 19 2011
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 2, -2, 1}, {1, 2, 4, 8, 13, 20, 30}, 50] (* Harvey P. Dale, Aug 14 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|