A320341 Triangle read by rows: T(n,k) is the number of unmarked circular binary words (necklaces) of length n having k occurrences of the pattern 00 (n >= 0 and 0 <= k <= n).
1, 1, 1, 2, 0, 1, 2, 1, 0, 1, 3, 1, 1, 0, 1, 3, 2, 1, 1, 0, 1, 5, 3, 3, 1, 1, 0, 1, 5, 5, 4, 3, 1, 1, 0, 1, 8, 8, 8, 5, 4, 1, 1, 0, 1, 10, 13, 13, 11, 6, 4, 1, 1, 0, 1, 15, 21, 24, 19, 14, 7, 5, 1, 1, 0, 1, 19, 34, 40, 36, 26, 17, 8, 5, 1, 1, 0, 1, 31, 55, 71, 67, 54, 34, 22, 9, 6, 1, 1, 0, 1
Offset: 0
Examples
Triangle for T(n,k) begins: n=0: 1; n=1: 1, 1; n=2: 2, 0, 1; n=3: 2, 1, 0, 1; n=4: 3, 1, 1, 0, 1; n=5: 3, 2, 1, 1, 0, 1; n=6: 5, 3, 3, 1, 1, 0, 1; n=7: 5, 5, 4, 3, 1, 1, 0, 1; n=8: 8, 8, 8, 5, 4, 1, 1, 0, 1; n=9: 10, 13, 13, 11, 6, 4, 1, 1, 0, 1; n=10: 15, 21, 24, 19, 14, 7, 5, 1, 1, 0, 1; ... If we take the Taylor expansion of g.f. F(z,t) of T(n,k) around z=0, we get F(z,t) = 1 + (1+t)*z + (2+0*t+t^2)*z^2 + (2+t+0*t^2+t^3)*z^3 + (3+t+t^2+0*t^3+t^4)*z^4 + (3+2*t+t^2+t^3+0*t^4+t^5)*z^5 + ... For example, for n=4, we have the following marked and unmarked circular binary words (the square brackets denote equivalence classes): k=0: [1111], [1110,1101,1011,0111], [1010,0101], V(4,0) = 7 and T(4,0) = 3; k=1: [1100,1001,0011,0110], V(4,1) = 4 and T(4,1) = 1; k=2: [0001,0010,0100,1000], V(4,2) = 4 and T(4,2) = 1; k=3: none, V(4,3) = 0 = T(4,3); k=4: [0000], V(4,4) = 1 = T(4,4). The corresponding cyclic compositions of n=4 under MacMahon's bijection are the following: k=0 (no 1's): [none], [4], [2+2], T(4,1) - 1 = 3 - 1 = 2; k=1 (one 1): [1+3], T(4,1) = 1; k=2 (two 1's): [1+1+2], T(4,2) = 1; k=3 (three 1's): none, T(4,3) = 0; k=4 (four 1's): [1+1+1+1], T(4,4) = 1.
Links
- L. Carlitz and R. Scoville, Zero-one sequences and Fibonacci numbers, Fibonacci Quarterly, 15 (1977), 246-254.
- P. Flajolet and R. Sedgewick, Analytic Combinatorics, 2009.
- P. Flajolet and M. Soria, The Cycle Construction, SIAM J. Discr. Math., vol. 4 (1), 1991, pp. 58-60.
- P. Flajolet and M. Soria, The Cycle Construction, SIAM J. Discr. Math., vol. 4 (1), 1991, pp. 58-60.
- P. Hadjicostas and L. Zhang, On cyclic strings avoiding a pattern, Discrete Mathematics, 341 (2018), 1662-1674.
- L. Zhang and P. Hadjicostas, On sequences of independent Bernoulli trials avoiding the pattern '11..1', Math. Scientist, 40 (2015), 89-96.
Crossrefs
Formula
T(n,k) = (1/n)*Sum_{d|gcd(n,k)} phi(d)*A119458(n/d, k/d) for n>=1 and 0 <= k <= n.
G.f.: F(z,t) = Sum_{n >= 0, k >= 0} T(n,k)*z^n*t^k = 1 - Sum_{d>=1} (phi(d)/d)*log(1-A(z^d,t^d)), where A(z,t) = z*(t+1) + z^2*(1-t).
Comments