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.
Squarefree sums of two squares
Statement
A squarefree positive integer is a sum of two squares if and only if none of its odd prime factors is congruent to modulo ; every such representation is primitive.
Facts & Assumptions
Given: A squarefree positive integer .
A positive integer is squarefree if no square of a prime divides ; equivalently, every exponent in its canonical prime factorisation is or (Squarefree positive integers).
A positive integer is a sum of two squares if and only if every prime occurs to an even exponent in its canonical prime factorisation (Characterisation of positive integers that are sums of two squares).
A positive integer has a primitive two-square representation if and only if and no prime divides (Characterisation of primitive sums of two squares).
An integer is a common divisor of and when and (Common divisor, and the greatest common divisor , with the convention ).
Every integer greater than has a prime divisor (Every integer has a prime divisor; indeed the least divisor of that exceeds is prime).
If a prime divides , then or (Euclid's lemma: if is prime and then or ).
Proof
By [F1], every prime exponent of is zero or one. Consequently the even-exponent condition in [L1] for a prime congruent to three modulo four is equivalent to that prime not dividing .
To see that every representation is primitive, suppose and . By [L3] choose a prime dividing the gcd. Then and by [F2], so , contradicting [F1].
Squarefreeness also gives , so the same exclusion of three-mod-four primes satisfies [L2] and yields a primitive representation whenever is represented.
Step 1.1 proves the representation criterion, step 2.1 supplies primitivity under that criterion, and step 1.2 shows that every representation has it.
Depends on
- Squarefree positive integers
- Characterisation of positive integers that are sums of two squares
- Characterisation of primitive sums of two squares
- Common divisor, and the greatest common divisor $\gcd(a,b)$, with the convention $\gcd(0,0) := 0$
- Every integer $n > 1$ has a prime divisor; indeed the least divisor of $n$ that exceeds $1$ is prime
- Euclid's lemma: if $p$ is prime and $p \mid ab$ then $p \mid a$ or $p \mid b$
Used by
Dependency tree · two levels
36 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
- P. Hackman, Elementary Number Theory, Chapter E, Theorems E.II.2 and E.II.4 (standard reference, not scraped)