Generating key points…
Answers are grounded in this paper and cite their sources.
The ordinary generating function for paths under the staircase \(1,2,2,3,3,3,…\), with each positive integer repeated that many times, is non-D-finite and therefore nonalgebraic. The obstruction is a local change in the normalized counts at each large triangular height. Let \(a_n\) count unit east–north paths from \((0,0)\) to \((s_n-1,n)\) for this boundary indexed from \(s_0=1\). The abscissa \(x_i\) of the \((i+1)\)st north step must satisfy \(x_i<s_i\) for \(0≤ i<n\). East steps at height \(n\) are permitted. Set \(T_m=m(m+1)/2\). When \(T_m≤ n<Tₘ₊₁\), there are \(m\) east steps. Their heights satisfy \(0≤ y_1≤⋯≤ y_m≤ n\) and \(y_j≥ T_j\). To compute the counts, let \(F_k(N)\) count such lists of length \(k\) with upper bound \(N\). Then \(F_0(N)=1\), \(F_k(N)=0\) for \(k≥1\) and \(N<T_k\), and \[F_k(N)=∑y=T_k^N Fₖ₋₁(y)(k≥1,\ N≥ T_k), a_n=F_m(n)(T_m≤ n<Tₘ₊₁). \] For integers \(N≥ m^2/2\) and \(m≥1\), cyclic rotation of the gaps between heights gives \[1m{N+m-1}{m-1}≤ Fₘ₋₁(N)≤{N+m-1}{m-1}. \] Together with log-concavity, this makes the old \((m-1)\)-step count locally flat. Each permitted height for the new step contributes asymptotically the same count. For every fixed integer \(r\), \[limm→∞{aT_m+r}{aT_m}=g(r)=1+max\{0,r\}. \] A polynomial recurrence would, after normalization at \(T_m+r\), force \(∑ⱼ₌₀^J c_j g(r+j)=0\) for all integer \(r\), with some nonzero maximal-degree coefficient \(c_j\). The forward second difference of \(g\) equals one at \(-1\) and zero elsewhere. Its translates isolate each \(c_j\) and force them all to vanish. The recurrence contradiction applies to the full series \(∑n≥0a_nz^n\). Kung–de Mier–Sun–Yan, §8, final paragraph. Let \(s_0,s_1,…=1,2,2,3,3,3,…\), with each positive integer \(j\) repeated \(j\) times. Is the ordinary generating function for unit east–north paths from \((0,0)\) to \((s_n-1,n)\), with the abscissa of the \((i+1)\)st north step strictly below \(s_i\) for every \(0≤ i<n\), algebraic or D-finite? It is non-D-finite and hence nonalgebraic. The proof obtains a normalized corner profile at triangular heights for every fixed integer offset, then uses its second difference to contradict any polynomial-coefficient recurrence for the full sequence.
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: