Number TheoryHonors · Lesson 10 / 16← Lesson 09Lesson 11 →
Lesson 10 · The quartic value β · 55–70 minutes

Floor Sums and the Jacobi Sum

Lesson 09 split ∑χ(n)n by the parity of n, which amounts to looking at ⌊2n/p⌋. Replace 2 by any base b and the same idea gives a whole family of identities: the character-twisted sums of ⌊bn/p⌋ are all simple multiples of β, and so is the "diagonal" sum of ⌊n2/p⌋. Then a second Gaussian integer appears, the Jacobi sum J = ∑χ4(x)χ4(1 − x). Its norm is exactly p, which gives a new proof that p is a sum of two squares.

Where this lesson is headed

∑n=1p−1 χ(n)⌊bn/p⌋ = (b − χ̄(b))·B1,χ,   ∑ χ(n)⌊n2/p⌋ = p·B1,χ,   |J(χ4, χ4)|2 = p

In words: every twisted floor sum is β times a simple factor, and the Jacobi sum is a Gaussian integer of norm p. For χ = χ4 the first formula reads ∑χ4(n)⌊bn/p⌋ = (b − χ̄4(b))β; the second holds for any odd χ. Writing J = a + bi gives p = a2 + b2.

You will use

m = p⌊m/p⌋ + ⟨m⟩ (Lesson 03). Multiplication by a unit permutes 1, …, p − 1. β = B1,χ4 and the half-sum σ (Lessons 08 and 09). ∑χ(n) = 0 for χ ≠ χ0 (Lesson 06). Norms in ℤ[i] (Lesson 04).

p: a prime in P*; χ: an odd character mod p (mainly χ4)

θ(b; n) = ⌊bn/p⌋: the fixed-base quotient

twisted floor sum: ∑n=1p−1 χ(n) θ(b; n)

J(χ, ψ) = ∑x mod p χ(x)ψ(1 − x): the Jacobi sum

J = J(χ4, χ4) = a + bi

01. Twist the floors by the character

Start with p = 13 (β = −1 − i) and base b = 2. The table shows ⌊bn/p⌋ for each n, weighted by χ4(n). Their sum, −1 − 3i, is exactly (2 − χ̄4(2))β = (2 + i)β. Try other b, then look at the diagonal sum and the Jacobi sum on the right.

The twisted floor sum for base b

∑ χ4(n)⌊bn/p⌋
(b − χ̄4(b))β
diagonal ∑ χ4(n)⌊n²/p⌋

Every base at once

bχ̄4(b)twisted sum(b − χ̄4(b))β

Guided experiments

Do these in order. "Set this up" chooses p and b.

    J for every prime of P* below 1000

    pJa mod 4b mod 8a2 + b2

    The norm is always p. And the normalization is always the same: a ≡ 3 (mod 4) and b ≡ 6 (mod 8).

    Every twisted floor sum is a multiple of β, and N(J) = p. Stage 02 proves both.