Generating key points…
Answers are grounded in this paper and cite their sources.
For odd N and an integer h let A(h/N) = sumₙ₌₁(N-1)/2 (-1)^floor(h n^2/N). For a prime p > 3 and p not dividing h we prove the exact formula 2 sumn <= (p-1)/2 floor(h n^2/p) = h(p^2-1)/12 - (p-1)/2 + (h/p) hB(p), where hB(p) = -(1/p) suma<p a (a/p), and deduce A(h/p) = (p-1) - h(p^2-1)/12 - (h/p) hB(p) (mod 4). This gives A(p) modulo 4, an elementary proof that hB(p) (the class number h(-p)) is odd for p = 3 (mod 4), and for even numerators the identity A(2a/p) = (a/p)(2 - (2/p)) hB(p), Dirichlet's evaluation of Jacobi's sum in Bernoulli form. For every odd N the mean quadratic residue gives A(N) modulo 4 through weighted class numbers. We then study F(a) = A(h/p), with h the odd representative of a in [1, 2p), as a function on the units modulo p. Its Fourier coefficients factor as sum_a F(a) conj(chi)(a) = H(chi^2) G(conj chi), a half-period alternating sum times a full-period one, so the sum of F over the kernel of a character of order m is (1/m) sumj<m H(chi²ʲ) G(conj chi^j). For p = 5 (mod 8) the mean of F over the fourth powers is (8/(p-1)) q Im S(psi), with q = sum_{n
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: