Generating key points…
Answers are grounded in this paper and cite their sources.
The number of Delannoy entries that survive reduction modulo an odd prime power is eventually an exponential times a polynomial. The exponential base counts the digit pairs that survive modulo the prime. The polynomial has exact degree one less than the exponent of the modulus, and its leading coefficient is determined by two local patterns of digit pairs. The standard Delannoy numbers have \(D(m,0)=D(0,n)=1\) and satisfy \(D(m,n)=D(m-1,n)+D(m,n-1)+D(m-1,n-1)\) for \(m,n>0\). For an odd prime \(p\) and integers \(e≥1\) and \(r≥0\), let \(Np,e(r)\) count the pairs \(0≤ m,n<p^r\) for which \(D(m,n)\) is nonzero modulo \(p^e\). For \(p=3\), Dumitru and Prunescu asked how the count and its recurrence depend on \(e≥4\). For every such \(e\), the count eventually equals \(8^rP3,e(r)\), where \(P3,e\) has exact degree \(e-1\), and the minimal eventual constant-coefficient recurrence has characteristic polynomial \((t-8)^e\). The construction also applies at \(e=1,2,3\), including the case \(e=3\) previously treated in their Theorem 12.1. Dumitru–Prunescu, §13, ternary higher-power question For every prime \(p≥5\) and every \(e≥1\), the answer to the remaining odd-prime part of Laurberg's question is affirmative: \(Np,e(r)=Np,1(r)Pp,e(r)\) for all sufficiently large \(r\), with \( Pp,e=e-1\). Here \(Np,1(r)=q_p^r\), with \(q_p\) computed below, and the minimal eventual recurrence has characteristic polynomial \((t-q_p)^e\). Equivalently, if \(T\) is the forward shift \((Tf)(r)=f(r+1)\), then \((T-q_p)^eNp,e=0\) on the tail. The source already establishes the exception at \(p=2\): every Delannoy entry is odd, so \(N2,e(r)=4^r\) and the polynomial factor is constant at every power. Dumitru–Prunescu, §13, restatement of Laurberg's Eq. (10.49) and the exception at two Write a pair \((m,n)\) as a length-\(r\) word \(w=(a_0,b_0)⋯(aᵣ₋₁,bᵣ₋₁)\) of base-\(p\) digit pairs, least significant first, so that \(m=∑_i a_ip^i\) and \(n=∑_i b_ip^i\). For any such word, including a shorter word read from position zero, compute its value by \[A(w)=∑ₖ₌₀min(m,n)2^k{m}{k}{n}{k}=D(m,n). \] The empty word has value \(1\). A digit pair \(d\) is good if \(p A(d)\) and bad otherwise, where \(A(d)\) is its value as a one-symbol word. Write \( G_p\) and \( B_p\) for the two sets. The exponential base is exactly \[q_p=| G_p|=∑ₐ₌₀ᵖ⁻¹∑b=0ᵖ⁻¹1\{p A((a,b))\}, \] where \(1\) is the indicator of the stated condition. For \(p=3\), the one-digit table has rows \((1,1,1)\), \((1,3,5)\) and \((1,5,13)\), indexed by \(a=0,1,2\) with columns \(b=0,1,2\). Thus \((1,1)\) is the sole bad pair and \(q_3=8\). At \(p=5,7,11\) the bases are \(21,44,112\), respectively. The interval expansion assigns each nonempty digit word \(v\) a coefficient \(C(v)\) through \[A(w)=∑w=v_1⋯ v_s∏ᵢ₌₁^s C(v_i), C(d)=A(d), p|v|-1 C(v). \] The sum runs over partitions into nonempty consecutive blocks. Subtracting the terms with two or more blocks from \(A(w)\) computes \(C(w)\) from shorter words. The divisibility gives a cost of at least \(|v|-1\) powers of \(p\) for an interval of length \(|v|\). In particular, if \(b(w)\) counts the bad digits, then \(v_p(A(w))≥ b(w)/2\), where \(v_p\) denotes the exponent of \(p\) in an integer, with \(v_p(0)=+∞\). Modulo \(p\) the one-symbol blocks give the entire value, which explains why exactly the all-good words contribute to \(Np,1(r)\). At precision \(p^e\), put \(h=e-1\). Join successive bad positions into the same group if their distance in digit positions is at most \(2h\). Take the interval from the first to the last bad digit of each group and pad it by \(h\) positions on each side, truncating at the ends of the word. The resulting words \(w_1,…,w_c\) occupy disjoint intervals. Their values determine the nonzero test through \[A(w)≡ u∏ᵢ₌₁ᶜA(w_i){p^e}, u∈( Z/p^e Z)^×. \] Thus \(A(w)\) is nonzero modulo \(p^e\) exactly when \(∑_i v_p(A(w_i))<e\). Each group contributes at least one to this sum. A counted word therefore has at most \(h\) groups and \(2h\) bad digits. Good digits outside the padded groups can be chosen freely. To compute the count, enumerate ordered lists \( W\) of \(1≤ c≤ h\) such padded groups with at most \(2h\) bad digits in total. Use the actual digit symbols. Within each group the successive bad positions have distance at most \(2h\). All pads consist of good digits and have width \(h\), except that the first left pad and last right pad may have any width from \(0\) to \(h\). Keep the lists whose group valuations sum to less than \(e\). Let \(LW\) be the total length of the listed words and \(JW\) be \(c-1\) plus the number of exterior pads of full width \(h\). The \(JW\) slots are the internal gaps and the exterior gaps next to full pads. For \(n\) additional digits define \[g_J(n)={cases} 0,&n<0,\\ 1\{n=0\},&n≥0,\ J=0,\\ q_p^n{n+J-1}{J-1},&n≥0,\ J≥1. {cases} \] The binomial counts the ways to distribute the additional length among the slots, and \(q_p^n\) counts the digit choices. The exact count at every \(r≥0\) and the polynomial valid for \(r≥ h+4h^2+1\) are \[{aligned} Np,e(r)&=q_p^r+∑Wg_{JW}(r-LW),\\ Pp,e(r)&=1+∑_{ W:JW≥1}q_p^{-LW}{r-LW+JW-1}{JW-1}. {aligned} \] In the polynomial, \({x}{k}=x(x-1)⋯(x-k+1)/k!\) for \(k≥1\), and \({x}{0}=1\). At \(e=1\) the list is empty and \(Pp,1=1\) at every length. For \(h≥1\), the terms of degree \(h\) come from lists with \(h\) groups, full exterior pads and valuation one in every group. There are two possible cores. For a singleton bad digit, the valuation-one test uses its nearest good digit on either side. Let \(a_p\) count the ordered triples \((g,b,g')∈ G_p× B_p× G_p\) for which \(v_p(A(gbg'))=1\). For an adjacent bad pair, the test uses the pair alone. Let \(c_p\) count the ordered pairs \((b,b')∈ B_p^2\) for which \(v_p(A(bb'))=1\). Two bad digits separated by a good digit already cost at least two powers of \(p\), and a group of three or more bad digits also costs at least two. The coefficient of \(r^h\) is \[[r^h]Pp,e(r)=1/h!(a_p/q_p^3+c_p/q_p^2)^h, \] with value \(1\) at \(h=0\). The denominators normalise by the number of positions used by each local pattern. Additional good padding leaves these weights unchanged. Both local counts can be computed from the table of \(D(m,n) p^2\) for \(0≤ m,n<p^2\). For the triple test use \[A(gbg')≡ A(g)A(b)A(g')+C(gb)A(g')+A(g)C(bg'){p^2}, C(uv)=A(uv)-A(u)A(v) \] for digit symbols \(u,v\). For the pair test use the two-symbol values directly. In the ternary case \(a_3=40\) and \(c_3=1\), giving leading coefficient \((3/32)^h/h!\). For every odd prime there is a valuation-one triple. Set \(b_0=(p-1)/2\) and use \((0,0),(1,b_0),(0,τ)\) in least-significant-first order. Among the integers \(0≤τ<p\), exactly one makes the following residue zero: \[D(p,p(b_0+pτ))/p≡ 1+2^p b_0/p+2^pτ p. \] Every other choice contributes to \(a_p\), so the degree is attained at every odd prime and every power. For the ternary count, separate finite-state certificates give recurrence starting indices \(4,6,8,10\) at \(e=3,4,5,6\), respectively. In particular, at modulus \(81\) and for \(r≥6\), the factor multiplying \(8^r\) is \[P3,4(r)={262393344+29310464{r-6}{1}+2506752{r-6}{2}+110592{r-6}{3}}{134217728}. \]
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: