Generating key points…
Answers are grounded in this paper and cite their sources.
For an odd prime p let b(n) = floor(n^2/p), the band index of n, and let m_j count the n in (0, p) with b(n) = j (mod 4). We determine all four counts. With K = (p-1)/2, the quarter sum kappa = sumn <= (p-1)/4 (n/p) and the half sum H = sumn <= K (n/p): for p = 1 (mod 4), m_0 and m_2 are K/2 + kappa and K/2 - kappa, and m_1 = m_3 = K/2; for p = 3 (mod 4), m_0 and m_2 are (K + H)/2 and (K - H)/2, m_1 = (K+1)/2 and m_3 = (K-1)/2. Equivalently, the sum of i^b(n) over 0 < n < p is 2 kappa = h(-4p) or (2 - (2/p)) h(-p) + i. The proof pairs n with p - n and counts square roots. The same reflection gives Chamberland and Dilcher's identity sumⱼ₌₁ᵐ (-1)^(j+1) floor(sqrt(jm)) = (m+1)/2 for every odd m. For the half-range Jacobsthal sums H₊₁(p) and H₋₁(p), the sums of ((x^3 + x)/p) and ((x^3 - x)/p) over x <= K, with p = 3 (mod 4), we prove a reduction to nonresidues and the exact formula H₋₁(p) = H - K + 8(nu_2 - nu_3), where nu_2 and nu_3 count consecutive pairs and triples of nonresidues below p/2. Hence H₋₁(p) = (p+3)/2 + (2/p) h(-p) (mod 8), H₊₁(p) = h(-p) (mod 4) and H₋₁(p) = h(-p) + 1 (mod 4). Determinant certificates show that neither sum is an affine combination of 1, p and seventeen class numbers. The main results are formalized in Lean 4 with Mathlib, with class numbers in their Bernoulli forms; Dirichlet's class number formula is quoted, and the certificates, a spectral formula and the numerical observations are not formalized. Source code: https://github.com/jkfarland-bot/BandIndex
No takes yet. Share an insight, caveat, or question.
Joseph S. Farland (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: