Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-16
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.

Second supplement: (2/p)=(−1)(p2−1)/8

Statement

For every odd prime p,

(2p)=(−1)(p2−1)/8.

Equivalently, (2/p)=1 if and only if p≡1 or 7(mod8), while (2/p)=−1 if and only if p≡3 or 5(mod8).

Facts & Assumptions

Given: An odd prime p.

[L1]

If N(a,p) counts the least positive residues of aj modulo p, for 1≤j≤(p−1)/2, that exceed p/2, then (a/p)=(−1)N(a,p) (Gauss's quadratic-residue lemma).

[L2]

Division by a positive integer has a unique quotient and remainder in the standard range (Division with remainder in Z: for a∈Z and b>0 there are unique q,r∈Z with a=qb+r and 0≤r<b).

[L3]

Proof

technique · direct
1.1L1givenalgebra

Put m=(p−1)/2. For 1≤j≤m, the least positive residue of 2j is 2j itself because 2j≤p−1. It exceeds p/2 exactly when j>p/4, so [L1] counts precisely the integers with p/4<j<p/2.

2.1L2L3step 1.1algebra

By [L2], write p=8q+r with 0≤r<8. Since p is odd, r∈{1,3,5,7}. In these cases the crossing indices of step 1.1 are respectively 2q+1,…,4q; 2q+1,…,4q+1; 2q+2,…,4q+2; and 2q+2,…,4q+3. Their counts are 2q, 2q+1, 2q+1, and 2q+2.

3.1L3step 2.1algebra

For r=1,3,5,7, direct substitution gives (p2−1)/8=8q2+2q, 8q2+6q+1, 8q2+10q+3, and 8q2+14q+6, respectively. These have parity even, odd, odd, and even, exactly matching the four crossing counts in step 2.1.

4.1L1step 1.1step 3.1∎

Fact [L1] and step 3.1 give (2/p)=(−1)(p2−1)/8. The exhaustive remainder cases yield value 1 exactly for residues 1,7 modulo 8, and value −1 exactly for residues 3,5.

Depends on

Used by

Dependency tree · two levels

23 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