Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Some multiple pm with 1≤m<p is a sum of four squares

Statement

Let p be a prime (Prime and composite integers: p is prime when p>1 and its only positive divisors are 1 and p). Then there is an integer m with 1≤m<p for which pm is a sum of four integer squares (Representations as sums of four squares).

Facts & Assumptions

Given: A prime p.

[F1]

An integer p is prime when p>1 and d∣p with d>0 force d=1 or d=p; in words, p exceeds 1, and its only positive divisors are 1 and p (Prime and composite integers: p is prime when p>1 and its only positive divisors are 1 and p).

[F2]

A representation of a nonnegative integer n as a sum of four squares is an ordered quadruple (a,b,c,d)∈Z4 with n=a2+b2+c2+d2 (Representations as sums of four squares).

[F3]

For a,b,n∈Z, a≡b(modn) means n∣(a−b) (Congruence modulo an integer: a≡b(modn) when n∣(a−b), including the moduli 0 and 1).

[F4]

For d,a∈Z, d∣a means a=dq for some q∈Z (Divisibility in Z: d∣a when a=dq for some integer q).

[L1]

For every prime p there are integers x,y with x2+y2+1≡0(modp) (For every prime p the congruence x2+y2+1≡0(modp) is solvable).

[L2]

For an integer m≥1 and a∈Z there is exactly one integer r with a≡r(modm) and −m<2r≤m, and consequently 4r2≤m2 (The least absolute remainder modulo a positive integer).

[L3]

If a≡a′(modn) and b≡b′(modn), then a+b≡a′+b′(modn) and ab≡a′b′(modn) (Congruent integers may be added, subtracted and multiplied: representative changes preserve both arithmetic operations).

Proof

technique · direct
1.1givenL1choose

Fix integers u,v with u2+v2+1≡0(modp), which [L1] supplies for the prime p.

2.1step 1.1F1L2construct

Since p>1 by [F1], the modulus p satisfies the hypothesis of [L2]; let x and y be the least absolute remainders of u and v modulo p, so that x≡u(modp), y≡v(modp), 4x2≤p2 and 4y2≤p2.

3.1step 1.1step 2.1L3F3F4algebra

By [L3] applied to the products x⋅x and y⋅y and then to the sums, x2+y2+1≡u2+v2+1(modp), and u2+v2+1≡0(modp); hence x2+y2+1≡0(modp), which by [F3] and [F4] says p∣x2+y2+1.

4.1step 3.1F4algebra

Write x2+y2+1=pm with m∈Z, as [F4] permits; the left-hand side is at least 1 because x2≥0 and y2≥0, and p>0, so m≥1.

5.1step 2.1step 4.1F1algebra

Multiplying step 4.1 by 4 and using the two bounds of step 2.1 gives 4pm=4x2+4y2+4≤p2+p2+4=2p2+4; since p≥2 by [F1] we have p2≥4, so 2p2+4≤3p2<4p2, whence 4pm<4p2, pm<p2 and m<p.

6.1step 4.1step 5.1F2∎

The equation pm=x2+y2+12+02 of step 4.1 exhibits the quadruple (x,y,1,0)∈Z4 as a representation of pm, so pm is a sum of four integer squares with 1≤m<p.

Remarks

Why the centring is needed. The pair (u,v) produced by [L1] is subject to no size condition, so u2+v2+1 can be an arbitrarily large multiple of p. Replacing u,v by their least absolute remainders leaves the congruence class untouched and buys the two bounds 4x2≤p2 and 4y2≤p2, which is what forces the multiplier below p.

The bound is not tight, and does not need to be. What the coordinate bounds give at step 5.1 is 4pm≤2p2+4, and only the weaker 4pm<4p2 is used. The comparison 2p2+4<4p2 needs just p2>2, which every prime satisfies, so p=2 needs no separate treatment even though the coordinate bound 4x2≤p2 can be attained there, at x=±1.

The case m=1. Nothing excludes it, and it is the case p=x2+y2+1 in which the prime is already a sum of four squares.

Depends on

Used by

Dependency tree · two levels

25 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources