A241936
T(n,k)=Number of length n+4 0..k arrays with no consecutive five elements summing to more than 2*k.
Original entry on oeis.org
16, 96, 26, 357, 218, 43, 1007, 1043, 509, 71, 2373, 3599, 3150, 1187, 116, 4928, 10031, 13339, 9500, 2727, 186, 9318, 24052, 44063, 49355, 28153, 6105, 300, 16389, 51570, 122162, 193179, 179145, 80983, 13783, 487, 27214, 101421, 297324, 619132, 829867
Offset: 1
Some solutions for n=4 k=4
..4....2....0....2....1....1....3....0....1....3....1....1....1....3....4....0
..1....1....1....0....1....4....0....1....2....0....2....0....1....1....0....0
..3....1....1....4....2....1....0....1....1....4....2....0....0....0....0....2
..0....2....0....2....2....2....1....0....0....0....0....0....3....1....0....0
..0....2....1....0....2....0....1....1....2....1....2....0....0....1....0....0
..0....1....1....1....1....1....0....4....2....1....0....2....0....3....0....0
..4....0....2....0....0....1....1....0....0....1....3....3....3....0....0....4
..0....0....0....2....0....0....1....3....1....0....1....3....1....1....1....4
A334251
a(n) is the number of binary (0,1) sequences of length n that have at most two zeros in a window of seven consecutive symbols.
Original entry on oeis.org
1, 2, 4, 7, 11, 16, 22, 29, 43, 66, 102, 157, 239, 358, 526, 777, 1159, 1740, 2619, 3942, 5923, 8870, 13259, 19822, 29667, 44451, 66641, 99912, 149745, 224338, 335993, 503199, 753720, 1129164, 1691796, 2534807, 3797721, 5689507, 8523275, 12768309, 19127928, 28655867, 42930562
Offset: 0
A335247
a(n) is the number of binary (0,1) sequences of length n that have at least two ones in each window of eight consecutive symbols.
Original entry on oeis.org
1, 2, 4, 8, 16, 32, 64, 127, 247, 487, 961, 1897, 3745, 7393, 14593, 28801, 56833, 112156, 221341, 436825, 862094, 1701380, 3357739, 6626611, 13077820, 25809478, 50935832, 100523529, 198386490, 391522260, 772682018, 1524913233, 3009466064, 5939279536, 11721362180
Offset: 0
A125513
a(n) is the number of binary strings of length n such that no subsequence of length 5 or less contains 4 or more ones.
Original entry on oeis.org
2, 4, 8, 15, 26, 48, 89, 165, 305, 561, 1034, 1908, 3521, 6496, 11982, 22101, 40770, 75210, 138741, 255934, 472117, 870911, 1606567, 2963628, 5466988, 10084919, 18603592, 34317946, 63306130, 116780470, 215424285, 397391986, 733066807
Offset: 1
- Index entries for linear recurrences with constant coefficients, signature (1, 1, 0, 1, 2, 0, -1, 0, 0, -1).
This sequence is similar to the sequences
A118647 (where no substring of length 4 contains 3 or more ones), because the number of ones we are checking for is one less than the length of a substring. It is also similar to
A120118 (where no substring of length 5 contains 3 or more ones.).
G.f. proposed by Maksym Voznyy checked and corrected by R. J. Mathar, Sep 16 2009.
A131283
a(n) is the number of binary strings of length n such that there exist 3 or more ones in a subsequence of length 5 or less.
Original entry on oeis.org
0, 0, 1, 5, 16, 38, 85, 185, 396, 838, 1748, 3609, 7400, 15097, 30681, 62154, 125588, 253246, 509850, 1025153, 2059159, 4132679, 8288643, 16615051, 33291367, 66682128, 133525499, 267312553, 535049374, 1070786975, 2142690382
Offset: 1
- Index entries for linear recurrences with constant coefficients, signature (3,-2,1,-2,2,-4,0,-1,2,-1,2).
-
concat([0, 0], Vec(x^3*(1+2*x+3*x^2-x^6-x^7-x^3-2*x^5) / ( (1-2*x)*(1-x-x^3-2*x^5+x^8+x^10) ) + O(x^40))) \\ Michel Marcus, May 28 2020
Showing 1-5 of 5 results.
Comments