November 25, 2026
Legendre’s formula \(v_p(r!) = \sum_{e \ge 1} \lfloor r/p^e \rfloor\), Stirling’s formula, Chebyshev’s bound (Problem 5.1.1 in Chapter 5), and the arithmetic of \(\mathbb{Z}[i]\). The invariant differential and complex uniformization of an elliptic curve [Si1, Ch. VI], and supersingular reduction [Si1]. The Jacobi theta function \(\theta_1\) [DLMF], Cauchy’s inequality and the argument principle. Section 14.6 also uses the prime number theorem for arithmetic progressions [MV]. From Chapter 11, Complex tori, theta functions and periods: Jacobi’s function \(\vartheta\) (Section 11.2). From Chapter 13, Complex multiplication and reduction at an inert prime: the congruence \(D^p \equiv \lambda D \pmod p\) for the invariant derivation of a one-dimensional formal group over \(\mathbb{Z}_p\) (Section 13.2) and the supersingular reduction of \(y^2 = x^3 - x\) at the primes inert in \(\mathbb{Z}[i]\) (Section 13.3). Chapter 15, The invariant derivation at a supersingular prime, treats the derivation \(D^p\) for the lemniscate.
Throughout, \(p\) denotes a prime. Let \(\theta(X) := \sum_{p \le X} \log p\). How much of \(\log r!\) comes from each prime? Chebyshev’s bound \(\theta(2n) - \theta(n) \le n \log 4\) is Problem 5.1.1 of Chapter 5.
Problem 14.1.1. \(\theta(X) < 2X\log 4\) for \(X \ge 1\).
Problem 14.1.2. For each integer \(r \ge 1\), \(-\theta(r) \le \log r! - r \sum_{p \le r} \frac{\log p}{p} \le r \sum_p \frac{\log p}{p(p-1)}\).
With Stirling’s formula, Problems 14.1.1 and 14.1.2 prove the following [Mer].
Theorem 14.1.1 (Mertens). \(\sum_{p \le X} \log p/p = \log X + O(1)\) for \(X \ge 2\).
How much of \(\log r!\) comes from each odd class modulo \(4\)? Let \[S_a(X) := \sum_{p \le X,\ p \equiv a \ (4)} \frac{\log p}{p}.\]
Theorem 14.1.2. \(S_a(X) = \frac12 \log X + O(1)\) for \(a = 1, 3\) and \(X \ge 2\).
Let \(\chi_{-4}\) be the primitive real Dirichlet character modulo \(4\). Theorem 14.1.2 is classical, and the usual proof rests on \(L(1, \chi_{-4}) \ne 0\) [MV, Ch. 4]. We replace the factorial by one determinant for each class and take \(r = \lfloor X \rfloor\).
Let \(r \ge 1\) be an integer, and let \(z_1, \dots, z_r\) be distinct Gaussian integers with \(0 \le \operatorname{Re} z_j, \operatorname{Im} z_j < \lceil \sqrt r \rceil\) for each \(j\). Let \(V := \prod_{j < k} (z_k - z_j)\).
Problem 14.2.1. \(\lvert V \rvert^2\) is a positive integer, and \(\log \lvert V \rvert^2 \le \binom r2 \log(2r)\).
Problem 14.2.2. If \(p \equiv 1 \pmod 4\), then \(v_p(\lvert V \rvert^2) \ge r^2/p - r\).
Problems 14.2.2, 14.2.1 and 14.1.1 imply the following. The counting of coincident pairs follows [PV].
Theorem 14.2.1. \(S_1(X) \le \frac12 \log X + O(1)\).
Problem 14.2.3. If \(p \equiv 3 \pmod 4\), then \(v_p(\lvert V \rvert^2) \ge r^2/p^2 - r\).
The estimate in Problem 14.2.3 has the summable weights \(\log p/p^2\). To obtain a weight of order \(1/p\), we use derivatives of integral regular functions on \(y^2 = x^3 - x\). Among the odd primes this curve has supersingular reduction precisely at the primes inert in \(\mathbb{Z}[i]\).
Let \(E \colon y^2 = x^3 - x\), \(A := \mathbb{Z}[x, y]/(y^2 - x^3 + x)\), \(\omega := dx/(2y)\), and \(P := (0, 0)\). The derivation \(D\) of \(A\) dual to \(\omega\) is \[Dx = 2y, \qquad Dy = 3x^2 - 1.\] The automorphism \([i](x, y) := (-x, iy)\) fixes \(P\) and pulls \(\omega\) back to \(i\omega\). Let \(d_k := (D^k x)(P)\).
Problem 14.3.1. The \(d_k\) are integers, and \(d_k = 0\) unless \(k \equiv 2 \pmod 4\). Moreover \(d_2 = -2\), \(d_6 = 144\), \(d_{10} = -96768\).
Let \(s = 1 + \frac14 t^4 + \dotsb\) be the root of \(s^4 = 1 + t^4\) with constant term \(1\). For odd \(p\) it lies in \(\mathbb{Z}_{(p)}[[t]]\).
Problem 14.3.2. The point \(x = -t^2/s^2\), \(y = -t/s^3\) lies on \(E\), \(t\) is a parameter at \(P\), and \[\omega = \frac{dt}{s^3} = \sum_{h \ge 0} (-1)^h b_h \, t^{4h} \, dt, \qquad b_h := \frac{\prod_{j=1}^h (4j - 1)}{4^h h!}.\]
Thus \(E\) is a quotient of the Fermat quartic \(s^4 = 1 + t^4\), and its differential is a series in \(t^4\).
Problem 14.3.3. Let \(p\) be an odd prime. On \(A/pA\) the operator \(D^p\) is a derivation, and \(D^p = cD\) for a constant \(c \in \mathbb{F}_p\).
Problem 14.3.4. If \(p \equiv 3 \pmod 4\), then \(c = 0\).
Problem 14.3.5. If \(p \equiv 3 \pmod 4\), then \(p^{\lfloor k/p \rfloor}\) divides \((D^k f)(P)\) for all \(f \in A\) and \(k \ge 0\). For instance \(3^2 \mid d_6\) and \(7^2 \mid d_{14} = 268240896\).
Write \(E(\mathbb{C}) = \mathbb{C}/\Lambda\) with \(dz = \omega\) [Si1, Ch. VI], and let \(w(z)\) be the \(x\)-coordinate of \(P + z\). Then \(w(z) = \wp(z + u_0)\) for a lift \(u_0 \notin \Lambda\) of \(P\), \(D = d/dz\), \(d_k = w^{(k)}(0)\), and \[(w')^2 = 4(w^3 - w), \qquad w(0) = w'(0) = 0, \qquad w''(0) = -2.\] For an integer \(r \ge 1\), let \(M\) be the matrix whose row of index \(k \ge 0\) lists the \(k\)th derivatives at \(0\) of \[\begin{equation} \label{eq:columns}\tag{1} \frac{z^j}{j!} \quad (0 \le j < r), \qquad \frac{z^j}{j!}\, w(z) \quad (0 \le j < r). \end{equation}\] The first \(r\) columns are the identity followed by zeros.
Problem 14.4.1. The entry of \(M\) in row \(k\) and column \(z^j w/j!\) is \(\binom kj d_{k - j}\) for \(k \ge j\), and \(0\) otherwise.
A relation among the columns, restricted to rows \(0, \dots, 4r\), is a pair of polynomials \(a, b\) of degree \(< r\), not both zero, with \(a + bw = O(z^{4r+1})\).
Problem 14.4.2. Let \(Q(a, b) := (a'b - ab')^2 + 4ab(a^2 - b^2)\). Then \(Q(a, b) = b^4\bigl((h')^2 - 4(h^3 - h)\bigr)\) with \(h = -a/b\), when \(b \ne 0\). If \(a + bw = O(z^{4r+1})\) with \(\deg a, \deg b < r\), then \(Q(a, b) = 0\).
Problem 14.4.3. No nonconstant rational function \(h \in \mathbb{C}(z)\) satisfies \((h')^2 = 4(h^3 - h)\).
Problem 14.4.4. If \(h \in \{0, \pm1\}\) and \(b \ne 0\) has degree \(< r\), then \(b(w - h)\) vanishes at \(0\) to order at most \(r + 1\).
Problems 14.4.2–14.4.4 prove the following.
Theorem 14.4.1. The rows of \(M\) of index \(0, \dots, 4r\) have rank \(2r\).
In order of increasing \(k\), keep each row of \(M\) that is independent of its predecessors, until \(2r\) rows are kept. Their indices are \(I = \{0, \dots, r-1, k_1, \dots, k_r\}\) with \(r \le k_1 < \dots < k_r \le 4r\). Expanding along the identity block, \[N_r := \det M_I = \det\Bigl[\tbinom{k_i}{j} d_{k_i - j}\Bigr]_{1 \le i \le r,\ 0 \le j < r}\] is a nonzero integer. Let \(L := \sum_i k_i - \binom r2\), the total order \(\sum_i (k_i - j_i)\) of the derivatives in each term of this determinant.
Problem 14.4.5. For \(r = 1, 2, 3\) the new rows are \(\{2\}\), \(\{2, 3\}\), \(\{3, 4, 6\}\), and \(N_r = -2\), \(12\), \(2^7 3^4\).
Problem 14.4.6. \(r^2 \le L \le 4r^2\), and \(v_p(N_r) \ge L/p - r\) for \(p \equiv 3 \pmod 4\).
If \(\rho\) is the distance from \(0\) to the nearest pole of \(w\), then \(\limsup_{k\to\infty} (\lvert d_k\rvert/k!)^{1/k} = \rho^{-1}\). To bound \(N_r\) we first remove the poles.
Problem 14.5.1. Let \(H\) be holomorphic near \(0\) with \(H(0) = 1\). Multiplying all the functions (1) by \(H\) does not change \(\det M_I = N_r\).
Write \(\Lambda = \lambda(\mathbb{Z}+ \tau\mathbb{Z})\) with \(\operatorname{Im}\tau > 0\), and let \[\theta_\tau(v) := 2\sum_{n \ge 0} (-1)^n e^{\pi i\tau(n + 1/2)^2} \sin\bigl((2n + 1)\pi v\bigr),\] so that \(\theta_\tau(v) = \theta_1(\pi v \mid \tau)\) [DLMF]. In terms of Jacobi’s function \(\vartheta\) of Section 11.2, \(\theta_\tau(v) = -i\, e^{\pi i\tau/4 + \pi i v}\, \vartheta\bigl(v + \tfrac{1+\tau}{2}\bigr)\). It is odd, \(\theta_\tau(v + 1) = -\theta_\tau(v)\), and \(\theta_\tau(v + \tau) = -e^{-\pi i\tau - 2\pi i v}\theta_\tau(v)\).
Problem 14.5.2. The zeros of \(\theta_\tau\) are the points of \(\mathbb{Z}+ \tau\mathbb{Z}\), and they are simple.
Let \(H(z) := \theta_\tau\bigl((z + u_0)/\lambda\bigr)^2 / \theta_\tau(u_0/\lambda)^2\).
Problem 14.5.3. \(H\) and \(Hw\) are entire, and \(\lvert H(z) \rvert, \lvert H(z) w(z) \rvert \le e^{C(1 + \lvert z \rvert^2)}\) with \(C\) independent of \(z\).
Problem 14.5.4. For every \(R > 0\), \(\lvert N_r \rvert \le (2r)!\,(4r/R)^L e^{2Cr(1 + R^2)}\). Hence \(\log \lvert N_r \rvert \le \frac12 L \log r + O(r^2)\).
Problems 14.4.6, 14.5.4 and 14.1.1 imply the following.
Theorem 14.5.1. \(S_3(X) \le \frac12 \log X + O(1)\).
Theorems 14.1.1, 14.2.1 and 14.5.1 prove Theorem 14.1.2. The proof never uses \(L(1, \chi_{-4}) \ne 0\).
Both determinant bounds allow errors of order \(r^2\). In the derivative estimate the floors \(\lfloor k/p\rfloor\) cost at most \(r\theta(r)\), and in the split estimate counting coincident pairs gives an error bounded by the same quantity. The upper bounds for \(\lvert V\rvert\) and \(\lvert N_r\rvert\) also allow errors of order \(r^2\) in their logarithms. So they give \(S_a\) up to \(O(1)\) and say nothing of the constant term. For \(\chi = \chi_{-4}\) that term involves \[c_\chi := \frac{L'}{L}(1, \chi) = \gamma + \log\frac{\pi^2}{2\varpi^2} = 0.2456\ldots, \qquad \varpi := 2\int_0^1 \frac{dt}{\sqrt{1 - t^4}},\] where the second expression follows from Kronecker’s limit formula and the value of \(\varpi\) in terms of \(\Gamma(\frac14)\) (Theorem 11.3.1); it is the case \(\mathbb{Q}(i)\) of the formula of Chowla and Selberg [CS]. How close can a determinant come to \(c_\chi\)?
On the Vandermonde side the floors can be kept exactly. For a prime power \(q\) let \(w_q(k) := \sum_{e \ge 1} \lfloor k/q^e \rfloor\), and let \(k!_{\mathbb{Z}[i]} := \prod_{\mathfrak p} \mathfrak p^{w_{N\mathfrak p}(k)}\), the \(k\)th factorial of \(\mathbb{Z}[i]\) in the sense of Pólya and Bhargava. For any \(n\) Gaussian integers the Vandermonde product is divisible by \(\prod_{k < n} k!_{\mathbb{Z}[i]}\) [Bh]. Write \(\lvert k!_{\mathbb{Z}[i]} \rvert\) for the absolute value of a generator.
Problem 14.6.1. \(\log \dfrac{k!}{\lvert k!_{\mathbb{Z}[i]} \rvert} = \frac12 w_2(k) \log 2 + \sum_{p \equiv 3 \ (4)} \log p \sum_{e \text{ odd}} \Bigl\lfloor \dfrac{k}{p^e} \Bigr\rfloor\). For \(k = 6\) both sides are \(\log 36\).
For an integer \(n\ge 1\), let \(\beta(n):=\sum_{0\le k<n}\log\lvert k!_{\mathbb{Z}[i]}\rvert\).
Problem 14.6.2. \(\beta(n) = \frac12 \sum_{1 \le N < n} (n - N) \bigl( \log N + \sum_{p^e \mid N} \chi(p^e) \log p \bigr)\), the inner sum over prime powers \(p^e > 1\).
The prime number theorem for arithmetic progressions with its fixed-modulus error term [MV], together with the Euler product for \(L(s,\chi)\), gives \(\sum_{p^e \le x} \chi(p^e) \log p = o(x)\) and \(\sum_{p^e \le x} \chi(p^e) \log p / p^e = -c_\chi + o(1)\).
Problem 14.6.3. \(\beta(n) = \frac{n^2}4 \log n - \frac{n^2}{4}\bigl(\frac32 + c_\chi\bigr) + o(n^2)\).
We take the points in a disc.
Problem 14.6.4. Let \(R > 0\), and let \(\mu\) be the uniform probability measure on the disc \(\lvert z \rvert \le R\). For \(\lvert z \rvert \le R\), \(\int \log\lvert z - u \rvert \, d\mu(u) = \log R - (R^2 - \lvert z \rvert^2)/(2R^2)\), and hence \(\iint \log\lvert z - u \rvert \, d\mu \, d\mu = \log R - \frac14\).
Problem 14.6.5. Let \(V_n\) be the Vandermonde product of the \(n\) Gaussian integers nearest \(0\). Then \(\log\lvert V_n \rvert = \frac{n^2}{4} \log\frac n\pi - \frac{n^2}8 + o(n^2)\).
Problem 14.6.6. \(\beta(n) \le \log\lvert V_n \rvert\) implies \(c_\chi \ge \log\pi - 1 = 0.1447\ldots\).
So even with exact divisibility the Vandermonde loses \(c_\chi - \log\pi + 1 = 0.1008\ldots\) in the linear term. On the side of derivatives one may build Padé-type determinants from the Taylor coefficients of the lemniscatic sine, whose poles are the points of \(\varpi\bigl(\frac{1+i}2 + \mathbb{Z}[i]\bigr)\). We expect, from computation, that they give \(c_\chi \le \log(4\pi/\varpi^2) = 0.6031\ldots\), short by the absolute constant \(\log(8/\pi) - \gamma = 0.3574\ldots\); we do not know a proof of the size estimate this needs. The Vandermonde calculation uses a disc of Gaussian nodes; for the proposed derivative estimate we expect a corresponding contribution from a disc in the translated lattice of poles. The determinant argument gives a bounded error in \(S_a(X)\). Even the constant term appears to require more than one determinant. The Riemann hypotheses for \(\zeta(s)\) and \(L(s,\chi_{-4})\) predict finer error terms for these prime sums.
The comparison of size and divisibility in this chapter illustrates
the comparison in the direction amount \(h_{\mathrm{dir}}\) of Chapter 33 (Section 33.4). In the Lean proof
[GL],
Data.jetSize gives the size term \(s_\infty(j)\) for an integer \(j \ge 0\), Data.primeSum gives
the prime sum \(s_{\mathrm{fin}}(y,
\sigma)\) for a real \(y\) and
an infinite place \(\sigma\), and
Data.directionAmount is \(h_{\mathrm{dir}} = \sum_{\sigma \in \Phi}
\bigl(s_\infty(\kappa(\sigma)) - s_{\mathrm{fin}}(\kappa(\sigma),
\sigma)\bigr)\), with \(\Phi\)
and \(\kappa\) as in Chapter 33. At the long order of that
chapter, Data.mainPrimeSum gives the main term \(s_{\mathrm{main}}\) of the mean of the
prime sums over the \(a\)-places, and
Data.jetSize_sub_mainPrimeSum_le bounds the size term at
that order minus \(s_{\mathrm{main}}\)
from above. In its proof the two terms proportional to \(c_1 = -1 - \gamma + \operatorname{Re} L'(1,
\chi_K)/L(1, \chi_K)\) cancel; here \(\chi_K\) is the character of the quadratic
field \(K\) of Chapter 33. Chapter 20
explains how a period of an elliptic curve with complex multiplication
involves \(L'(1, \chi_K)/L(1,
\chi_K)\).
If \(p \equiv 1 \pmod 4\) and \(h = (p-1)/4\), then \(c \equiv (-1)^h b_h \not\equiv 0 \pmod p\) in Problem 14.3.3. This is the coefficient of \(x^{p-1}\) in \((x^3 - x)^{(p-1)/2}\): \(c = 3, 6, 2\) for \(p = 5, 13, 17\).
\(N_4 = 2^{12}\, 3^5 \cdot 5 \cdot 7\), with new rows \(4, 5, 6, 7\).
Sum Problem 5.1.1 over \(n\) near \(X/2^m\).
Expand \(\log r!\) by Legendre’s formula; compare \(\lfloor r/p \rfloor\) with \(r/p\), and bound the terms with \(e \ge 2\) by a geometric series.
\(\lvert V \rvert^2\) is the norm of \(V\).
Let \((p) = \mathfrak p\bar{\mathfrak p}\), and count the pairs \(j < k\) with \(z_j \equiv z_k\) modulo \(\mathfrak p\) and modulo \(\bar{\mathfrak p}\).
Now \(\mathbb{Z}[i]/p \cong \mathbb{F}_{p^2}\), and \(p \mid z\) gives \(p^2 \mid \lvert z \rvert^2\).
Compute \(D^k x\) in \(A\), using \(y^2 = x^3 - x\). For the vanishing, compare \(D\) with its transform under the automorphism \([i]\), which fixes \(P\).
Differentiate \(s^4 = 1 + t^4\) and examine \(y\) to first order at \(t = 0\).
Use Leibniz’s rule in characteristic \(p\), and consider regular vector fields on the smooth projective curve.
In the formal group at the identity the scalar is \(\lambda\) of Chapter 13, Section 13.2. Compare it with the Hasse invariant [Si1, Thm. V.4.1(a)].
What inclusion for \(D^p A\) follows by reduction modulo \(p\)?
For the second part, substitute \(a = -bw + O(z^{4r+1})\), and compare the order of vanishing at \(0\) with the degree.
The map \(z \mapsto (h, h'/2)\) would extend to \(\mathbb P^1 \to E\) and pull \(\omega\) back to \(dz\). Look at \(z = \infty\).
\(w\) has a double zero at \(0\).
Use \(k_i \ge r + i - 1\). Apply Problem 14.3.5 to each term of the determinant, and use \(\lfloor m/p \rfloor > m/p - 1\).
Leibniz’s rule, and the way the rows \(I\) were chosen.
Integrate \(\theta_\tau'/\theta_\tau\) around a period parallelogram; the sides cancel up to the jump \(-2\pi i\) under \(v \mapsto v + \tau\). Use oddness for the location.
The double zeros of \(H\) sit at the double poles of \(w\). Bound \(H\), \(Hw\) on one parallelogram, and translate using the functional equation of \(\theta_\tau\).
Apply Problem 14.5.1 and Cauchy’s inequality to each entry, then choose \(R\).
\(2 = -i(1 + i)^2\); a split \(p\) has two primes of norm \(p\), and an inert \(p\) is prime of norm \(p^2\).
Count the multiples of each prime power \(p^e\) among the integers from \(1\) to \(k\), and interchange the two finite sums.
\(\sum_{1 \le m < x} (x - m) = \frac{x^2}2 - \frac x2 + \frac12 \{x\}(1 - \{x\})\). For the last term with \(x = n/d\), treat \(d \le \delta n\) trivially, and use partial summation on each interval where \(\lfloor n/d \rfloor\) is constant.
\(\frac1{2\pi}\int_0^{2\pi} \log\lvert z - \rho e^{i\phi} \rvert \, d\phi = \log\max(\lvert z \rvert, \rho)\).
Write \(z_1,\dots,z_n\) for the chosen nodes, scale by \(R=\sqrt{n/\pi}\), and compare \(n^{-2}\sum_{j<k}\log(\lvert z_j-z_k\rvert/R)\) with half the double integral for the unit disc in Problem 14.6.4. For fixed \(0<\varepsilon<1/2\) the contribution from \(\lvert z_j-z_k\rvert<\varepsilon R\) to this sum is \(O(\varepsilon^2\log(1/\varepsilon))\) as \(n\to\infty\).
Compare the coefficients of \(n^2\).
[Bh] M. Bhargava, \(P\)-orderings and polynomial functions on arbitrary subsets of Dedekind rings, J. reine angew. Math. 490–491 (1997), 101–128.
[CS] A. Selberg and S. Chowla, On Epstein’s zeta-function, J. reine angew. Math. 227 (1967), 86–110.
[DLMF] NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/, Chapter 20.
[GL] L. Sernau, GRH for Dirichlet \(L\)-functions, in Lean 4, a shorter rewriting of the Lean proof, text by Claude, https://github.com/lsernau/grh-lean, commit 72fead1, readable edition grh/.
[Mer] F. Mertens, Ein Beitrag zur analytischen Zahlentheorie, J. reine angew. Math. 78 (1874), 46–62.
[MV] H. L. Montgomery and R. C. Vaughan, Multiplicative Number Theory I. Classical Theory, Cambridge Stud. Adv. Math. 97, Cambridge University Press, 2007.
[PV] V. V. Volkov and F. V. Petrov, On the interpolation of integer-valued polynomials, J. Number Theory 133 (2013), 4224–4232; arXiv:1108.3212.
[Si1] J. H. Silverman, The Arithmetic of Elliptic Curves, 2nd ed., Grad. Texts in Math. 106, Springer, 2009.