Generating key points…
Answers are grounded in this paper and cite their sources.
A word with fixed letter counts can be read as a walk whose height records how far each prefix is below its prescribed sum bound. In both families the walk starts and ends at zero, and every intermediate height must be nonnegative. This representation gives two exact recurrence results. For the five-letter family it proves the signed order-three recurrence proposed by Kauers and Koutschan. For the four-letter family it gives a polynomial-coefficient recurrence specified by finite determinants. Both results hold for every integer \(n≥0\), including the empty word at \(n=0\). In the five-letter problem, \(a_n\) counts words with \(n\) copies of each letter \(j∈\{1,2,3,4,5\}\) whose first \(\) letters sum to at most \(3\) for every prefix length \(\). Assigning step \(3-j\) to letter \(j\) gives a nonnegative walk. The \(n\) zero steps can occupy any \(n\) of the \(5n\) positions, because each simply repeats the current height. The other steps form a walk with \(n\) occurrences of each of \(-2,-1,1,2\). The product of the two small roots of its excursion kernel yields the following single sum for the normalised count: \[ a_n=(n!)^3((n+1)!)^2/(5n)!\,a_n =n+1-∑ₖ₌₀^n n(n+1)(-1)^k nk1/k+1{2k}{k}k!(n+k)!/(n+2k+1)!. \] Kauers and Koutschan asked whether \(∑ᵢ₌₀^3c_i(n) aₙ₊ᵢ=0\) with the following signed coefficients. The answer is yes for every integer \(n≥0\). Kauers–Koutschan, §6.1, Conjecture 15 \[{aligned} c_0(n)&=-2(n+1)(n+2)(65n^3+593n^2+1772n+1740),\\ c_1(n)&=2015n^5+24428n^4+114387n^3+258294n^2+281088n+118368,\\ c_2(n)&=-4(910n^5+11032n^4+52047n^3+119686n^2+134365n+58980),\\ c_3(n)&=3(3n+8)(3n+10)(65n^3+398n^2+781n+496). {aligned} \] The sum gives the three starting values, and \(c_3(n)>0\) for \(n≥0\) allows forward iteration at every index. To work directly with \(a_n\), put \(hʲ=∏ₜ₌₀ʲ⁻¹(h+t)\) and \(d_i(n)=∏ₜ₌₀ⁱ⁻¹∏ᵣ₌₁^4(5n+5t+r)\), with empty products equal to one. Equivalent degree-15 coefficients multiplying \(aₙ₊ᵢ\) are \[{5³⁻ⁱc_i(n)}{(n+1)(n+2)}d_3(n)/d_i(n)((n+1)ⁱ(n+2)ⁱ)^2, 0≤ i≤3. \] These follow by substituting the factorial normalisation and clearing the common denominators for \(n≥0\). OEIS A215570, signed recurrence in %F In the four-letter problem, now let \(a_n\) count words with \(n\) copies of each letter \(j∈\{1,2,3,4\}\) whose first \(\) letters sum to at most \(5/2\) for every prefix length \(\). The steps \(5-2j\) turn this condition into nonnegativity at every position, including odd positions. Kauers and Koutschan asked for a proved recurrence for these counts. The construction below gives a nonzero scalar polynomial-coefficient recurrence on the original index \(n\). Kauers–Koutschan, §6.1, concluding paragraph on A215562 Give the steps \((-3,-1,1,3)\) weights \((zxy,z/x,z/x,zx/y)\), where \(z\) marks length, and let \(E(z,x,y)\) be the generating function of nonnegative walks returning to zero with these weights. Taking the constant term in \(y\) makes the two size-three counts equal. Return to zero then makes the size-one counts equal, and taking the constant term in \(x\) makes the two pairs have the same count. Thus \(CTx,yE=∑n≥0a_nz⁴ⁿ\), where \(CT\) extracts exponent zero in each indicated variable. Here the kernel has three roots tending to zero as \(z→0\) for fixed nonzero \(x,y\). Their product is \(zxyE\). To compute an equation for this branch, use the six-dimensional column companion matrix \(M\), with standard basis \(e_0,…,e_5\), defined by \[M e_i=eᵢ₊₁(0≤ i<5), M e_5=-y^2e_0-(y/x^2)e_2+(y/(zx))e_3-(y/x^2)e_4. \] Form \[G(z,x,y,w)=-y⁻²⁰\!(zxywI₂₀-^3 M). \] Here \(I_m\) denotes the identity of size \(m\), and the exterior cube \(^3M\) is the matrix of \(3×3\) minors indexed by increasing row and column triples in lexicographic order. Its eigenvalues are the twenty triple products of kernel roots. The relevant root of \(G=0\) is the branch \(w=E\) with \(E(0,x,y)=1\), selected by \(G(0,x,y,w)=w-1\). To construct the recurrence, replace each monomial \(z^j x^a y^c w^b\) of \(G\) by \(vj/2Xa/2y^c wᵇ⁻ᵃ\), keeping its coefficient, and multiply the result by \(Xy\) to obtain the polynomial \(H(v,X,y,w)\). The substitution uses \(v=z^2\) and \(X=(xw)^2\). With \(s=w-1\), set \[P_0=.(w∂_w+2X∂_X-2)H|w=1+s, F_0=Xy\,H(v,X,y,1+s). \] The subscripts on \(∂\) indicate the variable differentiated, with the other variables held fixed. The resulting rational function represents the counting series by a closed contour integral for sufficiently small \(|v|\): \[B(v)=∑n≥0a_nv²ⁿ=1/(2)^3∫__0/F_0\,dX\,dy\,ds, \] where \(i^2=-1\) and \(Γ\) is the product of the positively oriented circles \(|X|=|y|=1\) and \(|s|=1/2\). The even powers record that a balanced word has length \(4n\). Use the following finite polynomial and determinant operations to obtain the coefficients. 1. In variables \(Z=(Z_0,Z_1,Z_2,Z_3)\), homogenise \(P_0\) to degree 14 as \(P\) and \(F_0\) to degree 18 as \(Forig\), using \((X,y,s)=(Z_1,Z_2,Z_3)/Z_0\). Introduce a parameter \(e\) and set \(F=(1-e)Forig+e∑ᵢ₌₀^3 Z_i¹⁸\) and \(m_k=18k-4\). Index the rows and columns that represent the contour integrals by slots \((k,α)\) with \(1≤ k≤3\), \(|α|=m_k\) and \(0≤α_i≤16\). Here \(α\) has four nonnegative integer entries, \(|α|\) is their sum and \(Z^α=∏_i Z_iα_i\). There are respectively 680, 3281 and 680 slots, so their total is \(N=4641\). At \(k=4\) no degree-\(m_4\) monomial has all four exponents at most 16. Use increasing \(k\) and lexicographic monomial order. 2. For \(k=2,3,4\), form a square matrix \(L_k\) of size \({m_k+3}{3}\) in the monomial basis of degree \(m_k\). For each column \(α\), enter the coefficients of \(Z^α\) if every exponent is at most 16. Otherwise take the least \(i\) with \(α_i≥17\) and enter the coefficients of \(Zα-17 e_i∂Z_iF/18\), where \( e_i\) is the \(i\)-th unit multi-index. Each \(L_k\) is the identity at \(e=1\). For a homogeneous input \(Q\) of degree \(m_k\), define its row \(R_1(Q)\) at \(k=1\) by its coefficients in the order-one slots, zero elsewhere. For \(k≥2\), use \(L_k⁻¹=adj(L_k)/ L_k\) over \( Q(v,e)\) to decompose \(Q=Qbox+∑ᵢ₌₀^3 B_i∂Z_iF\). The columns with exponents at most 16 give \(Qbox\), and each other column contributes its coordinate times \(Zα-17 e_i/18\) to \(B_i\). Define \(R_k(Q)\) as the coefficient row of \(Qbox\) in the order-\(k\) slots plus \(Rₖ₋₁((∑_i∂Z_iB_i)/(k-1))\). At order four the first row in this sum is zero. 3. Form the following polynomial matrix and rows, where \((k,α),:\) specifies a whole row and \(v\)-derivatives keep \(e\) fixed: \[{gathered} Δ=∏ₖ₌₂^4 L_k, (S_*)(k,α),:=Δ Rₖ₊₁(-k Z^α∂_v F),\\ r_0=R_1(P), rⱼ₊₁=Δ∂_v r_j-j(∂_vΔ)r_j+r_j S_*(0≤ j<N). {gathered} \] 4. Let \(Y\) have columns \(r_0^,…,r_N^\), where \(\) denotes transpose. With auxiliary variable \(ξ\), set \(J(ξ)=ξ IN+1+Y^ Y\) and let \(ν\) be the lowest power of \(ξ\) with nonzero coefficient in \( J(ξ)\). Take \(γ\) to be the first nonzero column of \([ξν-1]adjJ(ξ)\), with components indexed from \(0\) to \(N\). Brackets denote coefficient extraction and \(adj\) is the classical adjugate. Put \(q_j=Δ^jγ_j\), let \(μ\) be the smallest power of \(e\) occurring with nonzero coefficient among the nonzero \(q_j\), and set \(p_j(v)=[e^μ]q_j\). These polynomials are coefficients of a differential equation \(∑ⱼ₌₀^N p_j(v)B⁽ʲ⁾(v)=0\), where \(B⁽ʲ⁾\) is the \(j\)-th derivative. Set \(b=maxp_j≠0 p_j\), \(pj,i=[v^i]p_j\), and take \(ρ\) to be the least element of \(\{0,1\}\) for which some nonzero \(pj,i\) has \(b+ρ-i+j\) even. The resulting recurrence, valid at every integer \(n≥0\), is \[∑_{{0≤ j≤ N,\ 0≤ i≤ b\\ b+ρ-i+j\;even}} pj,i\,(2n+b+ρ-i+1)ʲ\, an+(b+ρ-i+j)/2=0. \] All shifts are nonnegative integers. Grouping terms with the same shift gives the polynomial coefficient of each count. At any index where the coefficient of the largest shift is nonzero, the recurrence determines that count from the preceding counts. The determinants specify the coefficients exactly and are left unexpanded. The minimal recurrence order remains undetermined here.
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: