Alphabeta Math
Session-authored (Fable 5 assisted)
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.

8 results · all verified · 7 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Sums of Two Squares — Examples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24Open item page →

Thue's collision argument gives 73=32+82

Example

The prime 73 has 2721(mod73). Thue's collision construction with the square 0i,j8 produces the representation

73=32+82.

Facts & Assumptions

Given: The prime p=73 and the residue a=27.

[L1]

If p is prime and pa, then there are nonzero integers r,s with r,s<p and ras(modp) (Thue's lemma on small nonzero representatives).

[F1]

A representation of a nonnegative integer n as a sum of two squares is an ordered pair (x,y)Z2 such that n=x2+y2 (Representations and primitive representations as sums of two squares).

Verification

technique · direct
1.1

One has 272=7291(mod73), and 82=64<73<81=92, so the maximal integer h with h2<73 is 8.

algebra
2.1

In the map (i,j)27ij(mod73) on 0i,j8, the distinct pairs (3,8) and (0,0) collide because 3278=73. Their coordinate differences are (3,8), exactly as in [L1].

step 1.1L1algebra
3.1

The bounds give 0<32+82<273, and step 2.1 together with 2721 makes the sum divisible by 73. Directly, 32+82=9+64=73, so (3,8) is a representation in the sense of [F1].

step 1.1step 2.1L1F1algebra
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24Open item page →

Extended Euclid gives 73=32+82 from the root 27 of 1

Example

Starting from 2721(mod73), the Euclidean algorithm yields 73=32+82 without searching the full collision square.

Facts & Assumptions

Given: The congruence 2721(mod73).

[F1]

A representation of a nonnegative integer n as a sum of two squares is an ordered pair (x,y)Z2 such that n=x2+y2 (Representations and primitive representations as sums of two squares).

Verification

technique · direct
1.1

The Euclidean divisions 73=227+19 and 27=19+8 give 8=2719=32773.

algebra
2.1

Hence 8327(mod73), and the given square-root congruence gives 8292729(mod73); therefore 7332+82.

step 1.1algebra
3.1

Direct evaluation gives 32+82=9+64=73, so (3,8) is a two-square representation of 73 by [F1].

step 2.1F1algebra
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-08-24Open item page →

Prime factorisation gives two representations of 221 as a sum of two squares

Example

The factorisation 221=1317 and the two sign variants in the two-square identity give

221=102+112=142+52.

Facts & Assumptions

Given: The integers 13, 17, and their product 221.

[F1]

A representation of a nonnegative integer n as a sum of two squares is an ordered pair (x,y)Z2 such that n=x2+y2 (Representations and primitive representations as sums of two squares).

[L1]

For all integers a,b,c,d, (a2+b2)(c2+d2)=(acbd)2+(ad+bc)2=(ac+bd)2+(adbc)2 (The Brahmagupta–Fibonacci two-square identity).

Verification

technique · direct
1.1

Directly, 13=22+32 and 17=12+42.

F1algebra
2.1

The first sign variant in [L1] gives 221=(10)2+112=102+112, since 2134=10 and 24+31=11.

step 1.1L1algebra
2.2

The second sign variant gives 221=142+52, since 21+34=14 and 2431=5.

step 1.1L1algebra
3.1

Both pairs satisfy [F1]. They are essentially different because the unordered absolute-coordinate sets {10,11} and {5,14} differ.

step 2.1step 2.2F1algebra
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24Open item page →

539=7211 is not a sum of two squares

Statement refuted

Every positive integer is a sum of two integer squares. The integer 539 is a counterexample.

Facts & Assumptions

Given: The integer 539=7211.

[F1]

A representation of a nonnegative integer n as a sum of two squares is an ordered pair (x,y)Z2 such that n=x2+y2 (Representations and primitive representations as sums of two squares).

[L1]

If q3(mod4) is prime and qx2+y2, then qx and qy (A prime congruent to 3 modulo 4 divides both coordinates of a divisible two-square sum).

[L2]

A positive integer n is a sum of two squares if and only if every prime q3(mod4) occurs to an even exponent in its canonical prime factorisation (Characterisation of positive integers that are sums of two squares).

Counterexample

technique · direct
1.1

The factorisation 539=7211 contains the prime 113(mod4) to exponent one.

algebra
2.1

If 539=x2+y2, [L1] would give 11x,y and hence 112539, contrary to step 1.1. Thus no representation in the sense of [F1] exists.

step 1.1F1L1assume-contraalgebradischarge-contradiction
3.1

Equivalently, step 1.1 violates the even-exponent condition in [L2].

step 1.1L2
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24Open item page →

The representations 221=52+142=112+102 recover the factors 13 and 17

Example

The normalized representations

221=52+142=112+102

feed the factorisation construction and recover 221=1317.

Facts & Assumptions

Given: The displayed representations of 221.

[F1]

A representation of a nonnegative integer n as a sum of two squares is an ordered pair (x,y)Z2 such that n=x2+y2 (Representations and primitive representations as sums of two squares).

[L1]

For an odd integer, two essentially different normalized representations force a factorisation N=PQ with P,Q>1 (Two essentially different two-square representations factor an odd integer).

Verification

technique · direct
1.1

Both equalities are direct, and (5,14) and (11,10) are positive odd-even normalized pairs with 0<5<11.

F1algebra
2.1

In the notation of [L1], the values e=2, f=3, g=4, h=1 give egfh=5, fg+eh=14, eg+fh=11, and fgeh=10.

step 1.1L1algebra
3.1

The resulting factors are e2+f2=13 and g2+h2=17, and 1317=221.

step 2.1F1algebra
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24Open item page →

The primitive two-square criterion distinguishes 289, 34, and 833

Example

The integers 289 and 34 have primitive representations, whereas 833 is representable but has no primitive two-square representation:

289=82+152,34=32+52,833=282+72.

Facts & Assumptions

Given: The three displayed integers and coordinate pairs.

[F1]

A two-square representation is primitive when its coordinate gcd is 1 (Representations and primitive representations as sums of two squares).

[L1]

A positive integer n has a primitive two-square representation if and only if v2(n)1 and no prime q3(mod4) divides n (Characterisation of primitive sums of two squares).

Verification

technique · direct
1.1

One has 82+152=289 with gcd(8,15)=1, and 32+52=34 with gcd(3,5)=1, so both displayed representations are primitive by [F1].

F1L1algebra
1.2

One has 282+72=833, but gcd(28,7)=7, so the displayed representation is not primitive.

F1algebra
2.1

Since 833=7217 and 73(mod4), [L1] excludes every primitive representation of 833, not just the displayed one.

step 1.2L1algebra
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24Open item page →

68=82+22 is representable but has no primitive two-square representation

Statement refuted

Every integer representable as a sum of two squares has a primitive two-square representation. The integer 68 is a counterexample.

Facts & Assumptions

Given: The integer 68.

[F1]

A two-square representation is primitive when its coordinate gcd is 1 (Representations and primitive representations as sums of two squares).

[L1]

A positive integer n has a primitive two-square representation if and only if v2(n)1 and no prime q3(mod4) divides n (Characterisation of primitive sums of two squares).

Counterexample

technique · direct
1.1

Directly, 68=82+22, but gcd(8,2)=2, so the displayed representation is not primitive.

F1algebra
1.2

In any equality 4k=x2+y2, square residues modulo 4 force both x and y even. Thus no representation of a multiple of four can be primitive.

F1algebra
2.1

Since v2(68)=2, [L1] gives the same conclusion: 68 has no primitive representation despite step 1.1.

step 1.1step 1.2L1algebra
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + claude-opus-5[1m])audited 2026-08-24Open item page →

Squarefree sums of two squares up to 30

Example

Among the squarefree positive integers at most 30, those representable as sums of two squares are

1,2,5,10,13,17,26,29.

Every displayed representation below is primitive.

Facts & Assumptions

Given: Positive integers at most 30.

[F1]

A two-square representation is primitive when its coordinate gcd is 1 (Representations and primitive representations as sums of two squares).

[F2]

A positive integer n is squarefree if no square of a prime divides n (Squarefree positive integers).

[L1]

A squarefree positive integer is a sum of two squares if and only if none of its odd prime factors is congruent to 3 modulo 4; every such representation is primitive (Squarefree sums of two squares).

Verification

technique · direct
1.1

Trial division gives the squarefree positive integers at most 30 as 1,2,3,5,6,7,10,11,13,14,15,17,19,21,22,23,26,29,30.

F2algebra
2.1

Applying [L1] removes exactly those having an odd prime factor congruent to 3 modulo 4, leaving 1,2,5,10,13,17,26,29.

step 1.1L1algebra
3.1

The complete witness list is 1=12+02, 2=12+12, 5=12+22, 10=12+32, 13=22+32, 17=12+42, 26=12+52, and 29=22+52. Each coordinate gcd is one, as [F1] and [L1] require.

step 2.1F1L1algebra

Sources