Alphabeta Math
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.

✓ 9 results · all verified · 5 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 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Divisibility and Greatest Common Divisors: Examples and Counterexamples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

gcd⁡(1071,462)=21 by the Euclidean algorithm, with the back-substitution giving 21=7⋅462−3⋅1071

Example

The remainder descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (1071,462) is

1071=2⋅462+147,462=3⋅147+21,147=7⋅21+0,

so the second coordinates are 462,  147,  21,  0: the descent stops after three divisions, the last nonzero remainder is 21, and

gcd⁡(1071,462)  =  21.

Reading the divisions backwards gives Bézout coefficients:

21  =  462−3⋅147  =  462−3(1071−2⋅462)  =  7⋅462−3⋅1071,

that is, 1071⋅(−3)+462⋅7=21.

Numerals. For k∈N the symbol k written inside Z means ι(k), where ι:N→Z is the embedding of The naturals embed in the integers. Since ι is injective and preserves addition, multiplication and order, each numerical identity and inequality below is the image of the corresponding one in N, checked there by the ordinary decimal arithmetic of N.

Facts & Assumptions

Given: The integers 1071, 462, 147, 21 and 0, with numerals read as above through ι (The naturals embed in the integers, The integers as equivalence classes of pairs of naturals).

[L1]

Z is a commutative ring, and its order is total, antisymmetric, transitive and compatible with addition (The integers form a commutative ring, Arithmetic on the integers, The integers form a totally ordered ring, Order on the integers).

[L2]

For a∈Z and b>0 there is exactly one pair (q,r) with a=qb+r and 0≤r<b (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).

[L5]

The descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (a,b) with b>0 sends (u,v) with v>0 to (v,u−qv), where q is the quotient of u by v; it terminates at the least index N with vanishing second coordinate, and the last nonzero remainder equals gcd⁡(a,b).

[L7]

Verification

technique · direct
1.1

The three divisions are correct and are the ones [L2] produces. First, 2⋅462=924 and 924+147=1071, with 0≤147<462. Second, 3⋅147=441 and 441+21=462, with 0≤21<147. Third, 7⋅21=147 and 147+0=147, with 0≤0<21. In each line the remainder satisfies the constraint of [L2], so by the uniqueness there it is the remainder.

L1L2algebra
2.1

Applying [L3] to the three identities in turn gives gcd⁡(1071,462)=gcd⁡(462,147)=gcd⁡(147,21)=gcd⁡(21,0).

step 1.1L3
2.2

Back-substitution. From the second division, 21=462−3⋅147; from the first, 147=1071−2⋅462. Substituting, 21=462−3(1071−2⋅462)=462+6⋅462−3⋅1071=7⋅462−3⋅1071.

step 1.1L1algebra
3.1

gcd⁡(21,0)=∣21∣=21, since 21≥0. Hence gcd⁡(1071,462)=21.

step 2.1L1L4
3.2

The result checks numerically: 7⋅462=3234, 3⋅1071=3213, and 3234−3213=21.

step 2.2algebra
4.1

In the language of [L5], the descent from (1071,462) is (1071,462)↦(462,147)↦(147,21)↦(21,0), so the second coordinates are 462,147,21,0; the least index with vanishing second coordinate is N=3, the last nonzero remainder is 21, and it equals gcd⁡(1071,462) as [L5] asserts.

step 1.1step 3.1L5
4.2

So 1071⋅(−3)+462⋅7=21=gcd⁡(1071,462), an explicit instance of [L6] with (x,y)=(−3,7).

step 3.1step 2.2step 3.2L6
5.1

Finally 21∣1071 and 21∣462 directly: 21⋅51=1071 and 21⋅22=462, so the value found is indeed a common divisor, as it must be.

step 3.1L7algebra∎

Remarks

ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passverified 2026-08-02 (claude-opus-5)Open item page →

Bézout coefficients are not unique: 1071⋅(−3)+462⋅7=21 and 1071⋅19+462⋅(−44)=21, and for nonzero a,b every solution has the form (x0+tb/d,  y0−ta/d)

Example

Bézout's identity: for integers a,b not both zero, gcd⁡(a,b) is the least positive element of { ax+by:x,y∈Z }; in particular ax+by=gcd⁡(a,b) has an integer solution asserts that ax+by=gcd⁡(a,b) has a solution; it does not assert that the solution is unique, and it is not. For a=1071 and b=462, where gcd⁡(a,b)=21 (gcd⁡(1071,462)=21 by the Euclidean algorithm, with the back-substitution giving 21=7⋅462−3⋅1071),

1071⋅(−3)+462⋅7  =  21and1071⋅19+462⋅(−44)  =  21.

The general statement, for a and b both nonzero, is this. Put d=gcd⁡(a,b), a′=a/d and b′=b/d (If d=gcd⁡(a,b) is nonzero then a/d and b/d are coprime), and let (x0,y0) be any solution of ax+by=d. Then the solutions of that equation are exactly the pairs

(x, y)  =  (x0+t b′,  y0−t a′)  =  (x0+t b/d,  y0−t a/d),t∈Z.

For the pair above, d=21, a′=51 and b′=22, and t=1 carries (−3,7) to (19,−44).

Numerals. For k∈N the symbol k written inside Z means ι(k), the embedding of The naturals embed in the integers; every numerical identity below is the image of the corresponding identity in N.

Facts & Assumptions

Given: Nonzero integers a and b, d:=gcd⁡(a,b), and a solution (x0,y0) of ax+by=d; and, for the numerical part, a=1071, b=462, d=21.

[L1]

Z is a commutative ring: addition and multiplication are associative and commutative, x⋅1=x, x⋅0=0, multiplication distributes over addition, and every x has an additive inverse; we write u−v for u+(−v) (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L3]

If d=gcd⁡(a,b)≠0 then a=da′ and b=db′ for unique integers a′=a/d and b′=b/d, and gcd⁡(a′,b′)=1 (If d=gcd⁡(a,b) is nonzero then a/d and b/d are coprime, Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0, Coprime integers: gcd⁡(a,b)=1).

[L6]
[L7]

If xz=yz and z≠0 then x=y; and a product of nonzero integers is nonzero (The integers have no zero divisors; multiplicative cancellation).

Verification

technique · direct
1.1

Since a≠0 and b≠0 we have (a,b)≠(0,0), so d≥1 and in particular d≠0; fix a′,b′ with a=da′, b=db′ and gcd⁡(a′,b′)=1. Both a′ and b′ are nonzero, since da′=a≠0 and db′=b≠0.

givenL1L3
2.1

Every pair of the stated form is a solution: for t∈Z, a(x0+tb′)+b(y0−ta′)=(ax0+by0)+t(ab′−ba′)=d+t((da′)b′−(db′)a′)=d+t⋅0=d.

step 1.1givenL1
2.2

Conversely, let (x,y) satisfy ax+by=d. Subtracting ax0+by0=d gives a(x−x0)=− b(y−y0), that is da′(x−x0)=− db′(y−y0); cancelling d≠0 gives a′(x−x0)=− b′(y−y0).

step 1.1givenL1L7
2.3

The numerical instance. Here d=21 by [L8], and 21⋅51=1071, 21⋅22=462, so a′=51 and b′=22. The pair (−3,7) is a solution, since 1071⋅(−3)+462⋅7=−3213+3234=21.

step 1.1L1L8algebra
3.1

Hence b′∣a′(x−x0), and gcd⁡(b′,a′)=gcd⁡(a′,b′)=1, so b′∣x−x0 by [L5]: write x−x0=tb′ for some t∈Z.

step 2.2L4L5L6
4.1

Substituting into step 2.2, a′tb′=− b′(y−y0); cancelling b′≠0 gives a′t=−(y−y0), that is y=y0−ta′. So (x,y)=(x0+tb′, y0−ta′).

step 1.1step 2.2step 3.1L1L7
5.1

With step 2.1 this shows the solutions are exactly the pairs (x0+tb′,y0−ta′), t∈Z.

step 2.1step 4.1
6.1

Taking t=1 in step 5.1 gives (−3+22,  7−51)=(19,−44), and directly 1071⋅19+462⋅(−44)=20349−20328=21. So the same equation has at least the two solutions (−3,7) and (19,−44), and they are distinct because −3≠19.

step 5.1step 2.3L1algebra∎

Remarks

  • The family is infinite. Distinct values of t give distinct pairs, since b′≠0 and x0+tb′=x0+t′b′ forces t=t′ by cancellation. So a Bézout equation with a,b both nonzero never has a unique solution.

  • Why the statement is restricted to a,b both nonzero. With b=0 and a≠0 the quotient b/d is 0 and the family collapses to (x0, y0−ta/d), which is still the complete solution set but for a different reason: x is then forced and y is free. The uniform statement above is the one used elsewhere, and the degenerate case is recorded here so that its absence from the claim is deliberate rather than an oversight.

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passverified 2026-08-02 (claude-opus-5)Open item page →

gcd⁡ at the boundary: gcd⁡(a,0)=∣a∣, gcd⁡(0,0)=0, and the convention gcd⁡(0,0)=0 is exactly what makes gcd⁡(ca,cb)=∣c∣gcd⁡(a,b) true at c=0

Example

The two boundary values of gcd⁡ are

gcd⁡(a,0)=∣a∣for every a,gcd⁡(0,0)=0,

the first by gcd⁡ is symmetric and unchanged by signs: gcd⁡(a,b)=gcd⁡(b,a)=gcd⁡(∣a∣,∣b∣); moreover gcd⁡(a,0)=∣a∣, gcd⁡(a,1)=1, gcd⁡(a,a)=∣a∣, and gcd⁡(a,b)≥1 unless a=b=0 and the second by the convention fixed in Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0. The point of this example is that the second is not free: instantiating the scaling identity gcd⁡(ca,cb)=∣c∣gcd⁡(a,b) of gcd⁡(ca,cb)=∣c∣ gcd⁡(a,b) for all integers a,b,c, the identity holding at c=0 and at (a,b)=(0,0) as well at c=0 gives

gcd⁡(0,0)  =  gcd⁡(0⋅a,  0⋅b)  =  ∣0∣ gcd⁡(a,b)  =  0,

so 0 is the only value the identity permits. The same conclusion follows from the identity taken at (a,b)=(0,0) with c=1+1: it reads gcd⁡(0,0)=(1+1)gcd⁡(0,0), and an integer g with g=g+g is 0.

Facts & Assumptions

Given: Integers a,b,c.

[L1]

Z is a commutative ring: x⋅0=0, x+0=x, x⋅1=x, multiplication distributes over addition, and every x has an additive inverse (The integers form a commutative ring, Arithmetic on the integers).

[L4]

gcd⁡(0,0)=0 by the convention of Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0, and gcd⁡(u,v)≥0 always.

[L8]

The embedding ι:N→Z has image exactly the nonnegative integers, and ι(1)=1, ι(1+1)=1+1 since ι preserves addition (The naturals embed in the integers, The integers as equivalence classes of pairs of naturals).

Verification

technique · direct
1.1

gcd⁡(a,0)=∣a∣ for every a, by [L3]; at a=0 this reads gcd⁡(0,0)=∣0∣=0, agreeing with the convention.

L3L4L6
1.2

Instantiate [L5] at c=0: gcd⁡(0⋅a, 0⋅b)=∣0∣gcd⁡(a,b). The left side is gcd⁡(0,0) and the right side is 0⋅gcd⁡(a,b)=0, so gcd⁡(0,0)=0.

L1L5L6
1.3

Instantiate [L5] at (a,b)=(0,0) and c=1+1: writing g:=gcd⁡(0,0), it reads g=∣1+1∣ g.

L5
2.1

An integer g satisfying g=(1+1)g=g+g is 0: adding −g to both sides gives 0=g. Combined with step 1.3, and with ∣1+1∣=1+1 because 1+1=ι(1+1) is nonnegative, this is a second derivation of gcd⁡(0,0)=0.

step 1.3L1L4L6L8
3.1

So the value 0 is not chosen but determined, once the scaling identity is required to hold at every triple: steps 1.2 and 2.1 each force it, and step 1.1 shows it agrees with gcd⁡(a,0)=∣a∣ read at a=0.

step 1.1step 1.2step 2.1
4.1

The divisibility reading agrees as well: every integer divides 0, so every common divisor of (0,0) divides 0, and 0 is a common divisor of (0,0) that is nonnegative — which is exactly the characterisation of gcd⁡ in [L7], returning the value 0.

L4L7∎

Remarks

ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

ax+by=c has an integer solution exactly when gcd⁡(a,b)∣c: 6x+15y=9 is solvable and 6x+15y=7 is not

Example

For integers a,b,c, the equation

ax+by=c

has a solution (x,y)∈Z×Z if and only if gcd⁡(a,b)∣c (Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0, Divisibility in Z: d∣a when a=dq for some integer q).

With a=6 and b=15, where gcd⁡(6,15)=3:

  • 6x+15y=9 is solvable, since 3∣9; explicitly 6⋅(−1)+15⋅1=9;
  • 6x+15y=7 has no solution, since 3∤7: dividing, 7=2⋅3+1 with remainder 1≠0.

Numerals. For k∈N the symbol k inside Z means ι(k), the embedding of The naturals embed in the integers; the numerical identities below are the images of the corresponding identities in N.

Facts & Assumptions

Given: Integers a,b,c, and g:=gcd⁡(a,b).

[L1]

Z is a commutative ring: addition and multiplication are associative and commutative, x⋅1=x, x⋅0=0, x⋅(−1)=−x, multiplication distributes over addition, and every x has an additive inverse (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L2]

The order on Z is total, antisymmetric and transitive (The integers form a totally ordered ring, Order on the integers).

[L3]

g is a common divisor of a and b, g≥0, and gcd⁡(0,0)=0 (Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0).

[L7]

d∣u means u=dq for some q; 0∣u only for u=0 (Divisibility in Z: d∣a when a=dq for some integer q).

[L8]

For u∈Z and v>0 there is exactly one pair (q,r) with u=qv+r and 0≤r<v, and v∣u holds exactly when r=0 (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).

Verification

technique · direct
1.1

If ax+by=c has a solution, then g∣a and g∣b give g∣ax+by=c by [L6].

L3L6
1.2

Conversely suppose g∣c, say c=gk. If (a,b)≠(0,0), take x0,y0 with ax0+by0=g and multiply by k: a(x0k)+b(y0k)=gk=c, a solution.

L1L4L7
1.3

If instead (a,b)=(0,0) then g=0, so 0∣c forces c=0, and a⋅0+b⋅0=0=c is a solution. The two cases are exhaustive.

L1L3L7
1.4

gcd⁡(6,15)=3. Indeed 3≥0; 6=3⋅2 and 15=3⋅5, so 3∣6 and 3∣15; and 6⋅(−2)+15⋅1=−12+15=3, so every common divisor of 6 and 15 divides 3 by [L6]. By [L5] this is exactly the characterisation of gcd⁡(6,15).

L1L5L6L7algebra
2.1

So solvability of ax+by=c is equivalent to g∣c.

step 1.1step 1.2step 1.3
3.1

3∣9, since 9=3⋅3; so 6x+15y=9 is solvable by step 2.1, and 6⋅(−1)+15⋅1=−6+15=9 exhibits a solution.

step 2.1step 1.4L1L7algebra
4.1

3∤7: since 3>0, [L8] applies, and 7=2⋅3+1 with 0≤1<3 is the unique such representation, so the remainder is 1≠0 and 3 does not divide 7. Hence 6x+15y=7 has no integer solution by step 2.1.

step 2.1step 1.4L1L2L8algebra∎

Remarks

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

12Z+18Z=6Z and 12Z∩18Z=36Z, the arithmetic of gcd⁡ and lcm⁡ read off the subgroups of (Z,+)

Example

Take a=12 and b=18. Then gcd⁡(12,18)=6 and lcm⁡(12,18)=36, and aZ+bZ=gcd⁡(a,b) Z and aZ∩bZ=lcm⁡(a,b) Z; equivalently, in (Z,+) the subgroup generated by {a,b} is ⟨gcd⁡(a,b)⟩ and ⟨a⟩∩⟨b⟩=⟨lcm⁡(a,b)⟩ turns these two numbers into two statements about subgroups of (Z,+):

12Z+18Z  =  6Z,12Z∩18Z  =  36Z.

The first says that the integers expressible as 12x+18y are exactly the multiples of 6; the smallest positive one is 6=12⋅(−1)+18⋅1. The second says that the integers divisible by both 12 and 18 are exactly the multiples of 36. The product check is gcd⁡⋅lcm⁡=6⋅36=216=∣12⋅18∣.

Numerals. For k∈N the symbol k inside Z means ι(k), the embedding of The naturals embed in the integers.

Facts & Assumptions

Given: The integers 12, 18, 6, 36 and 216, and gZ={ gk:k∈Z }.

[L1]

Z is a commutative ring: multiplication is associative and commutative, x⋅1=x, x⋅(−1)=−x, and multiplication distributes over addition (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L6]

If xz=yz and z≠0 then x=y (The integers have no zero divisors; multiplicative cancellation).

[L8]

Every subgroup of (Z,+) has exactly one nonnegative generator (Every subgroup of (Z,+) is ⟨n⟩=nZ for exactly one natural number n).

Verification

technique · direct
1.1

gcd⁡(12,18)=6. Indeed 6≥0; 12=6⋅2 and 18=6⋅3, so 6∣12 and 6∣18; and 12⋅(−1)+18⋅1=−12+18=6, so every common divisor of 12 and 18 divides 6 by [L3]. By [L2] this characterises gcd⁡(12,18).

L1L2L3algebra
2.1

lcm⁡(12,18)=36. By [L4], gcd⁡(12,18)lcm⁡(12,18)=∣12⋅18∣=∣216∣=216; with step 1.1 this reads 6⋅lcm⁡(12,18)=216. Since 6⋅36=216 and 6≠0, cancellation gives lcm⁡(12,18)=36.

step 1.1L1L4L5L6algebra
3.1

Applying [L7] with a=12 and b=18: 12Z+18Z=gcd⁡(12,18)Z=6Z and 12Z∩18Z=lcm⁡(12,18)Z=36Z.

step 1.1step 2.1L7
4.1

Both right-hand sides are written with their canonical generator: 6≥0 and 36≥0, and by [L8] no other nonnegative integer generates the same subgroup, so the two identities pin the subgroups down rather than merely exhibiting one description of each.

step 3.1L8
5.1

The two statements read concretely: an integer is of the form 12x+18y exactly when it is a multiple of 6 — with 6=12⋅(−1)+18⋅1 the smallest positive such value — and an integer is divisible by both 12 and 18 exactly when it is a multiple of 36, which is the divisibility clause of [L4] instantiated here.

step 1.1step 3.1L3L4∎

Remarks

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passverified 2026-08-02 (claude-opus-5)Open item page →

Consecutive Fibonacci numbers are coprime, and for every m∈N the Euclidean algorithm on (Fm+3,Fm+2) takes exactly m+1 divisions, with quotient 1 in the first m of them and quotient 2 in the last

Example

The sequence. Write k+1 for σ(k) and k+2 for σ(σ(k)) (Addition of natural numbers). By the recursion theorem (The recursion theorem) applied to the set Z×Z, the element (0,1) and the function (u,v)↦(v, u+v), there is exactly one G:N→Z×Z with G(0)=(0,1) and G(k+1)=(v, u+v) whenever G(k)=(u,v). Define Fk to be the first coordinate of G(k). Then G(k)=(Fk,Fk+1) for every k, so

F0=0,F1=1,Fk+2=Fk+1+Fk,

and the sequence begins 0,1,1,2,3,5,8,13. The indexing starts at F0=0, and the statements below depend on that choice.

Coprimality. For every k∈N,

gcd⁡(Fk+1, Fk)  =  1,

so consecutive Fibonacci numbers are coprime (Coprime integers: gcd⁡(a,b)=1).

The division count. For m∈N let R be the remainder descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (Fm+3, Fm+2), which is legitimate because Fm+2>0, and for k below the terminating index N let qk be the quotient used at step k, so that ak=qkbk+bk+1 with 0≤bk+1<bk. Then

N=m+1,qk=1  for k<m,qm=2.

Equivalently, on (Fn+2,Fn+1) with n=m+1≥1 the algorithm performs exactly n divisions. At m=0 the pair is (F3,F2)=(2,1), there is a single division 2=2⋅1+0, and the list of quotients equal to 1 is empty.

What is not claimed. Nothing here says these pairs are the worst case for their size; that is Lamé's theorem, and no bound on the number of divisions in terms of the size of the inputs is available at this point in the reading order.

Facts & Assumptions

Given: The sequence F:N→Z described above, with F0=0, F1=1 and Fk+2=Fk+1+Fk.

[L1]

Z is a commutative ring; its order is total, antisymmetric and transitive and is compatible with addition; positives are closed under multiplication; x<y means x≤y together with x≠y (The integers form a commutative ring, Arithmetic on the integers, The integers form a totally ordered ring, Order on the integers, The integers as equivalence classes of pairs of naturals).

[L3]

For a set X, an α∈X and f:X→X there is exactly one g:N→X with g(0)=α and g(σ(k))=f(g(k)) (The recursion theorem).

[L4]

ι:N→Z is injective, preserves order, and has image the nonnegative integers (The naturals embed in the integers); hence 0<x in Z implies 1≤x, since x=ι(k) with k≠0, so σ(0)≤k by the discreteness of [L2] and order preservation gives 1=ι(1)≤ι(k)=x (Discreteness: σ(n) is the immediate successor).

[L5]

For u∈Z and v>0 there is exactly one pair (q,r) with u=qv+r and 0≤r<v (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).

[L8]

The descent of The Euclidean algorithm: for a∈Z and b>0 the remainder descent from (a,b) terminates, and the last nonzero remainder is gcd⁡(a,b) from (a,b) with b>0 satisfies R(0)=(a,b) and R(k+1)=(bk, ak−qkbk) whenever bk>0, with qk the quotient of ak by bk; it is the unique such sequence, and N is the least index with bN=0.

[L9]

u and v are coprime exactly when gcd⁡(u,v)=1 (Coprime integers: gcd⁡(a,b)=1).

Verification

technique · induction
1.1

G(k)=(Fk,Fk+1) for every k, by induction: it holds at k=0 since G(0)=(0,1)=(F0,F1), and if G(k)=(Fk,Fk+1) then G(k+1)=(Fk+1, Fk+Fk+1), whose first coordinate is Fk+1, so the second is Fk+2 by definition of F as the first coordinate one step later. Hence Fk+2=Fk+1+Fk.

L1L2L3
1.2

Induction hypothesis: fix m and assume that the descent from (Fm+3,Fm+2) terminates at index m+1 with quotients qk=1 for k<m and qm=2.

ih
2.1

For every k: Fk≥0 and Fk+1≥1. By induction, at k=0 this is F0=0≥0 and F1=1≥1; and if it holds at k then Fk+1≥1≥0 and Fk+2=Fk+1+Fk≥1+0=1, using compatibility of the order with addition.

step 1.1L1L2L4
2.2

Coprimality. By induction on k: at k=0, gcd⁡(F1,F0)=gcd⁡(1,0)=∣1∣=1 by [L7]. If gcd⁡(Fk+1,Fk)=1, then Fk+2=1⋅Fk+1+Fk and [L6] give gcd⁡(Fk+2,Fk+1)=gcd⁡(Fk+1,Fk)=1. So gcd⁡(Fk+1,Fk)=1 for every k, and consecutive Fibonacci numbers are coprime.

step 1.1L1L2L6L7L9
2.3

Base case of the division count, m=0. Here F2=F1+F0=1 and F3=F2+F1=1+1=2, so the descent starts at (2,1) with b0=1>0. Dividing, 2=q⋅1+r with 0≤r<1 forces r=0, since 0<r would give 1≤r by [L4]; hence q=2 and R(1)=(1,0). So N=1=m+1, the single quotient is q0=2, and there is no index k<m=0.

basestep 1.1L1L4L5L8
3.1

For every m: 0≤Fm+1, 0<Fm+2 and Fm+2<Fm+3. The first two are step 2.1; and Fm+3=Fm+2+Fm+1 with Fm+1≥1>0 gives Fm+2<Fm+3.

step 1.1step 2.1L1
4.1

Inductive step. Consider the descent R′ from (Fm+4,Fm+3); it is legitimate since Fm+3>0 by step 3.1. Its first division is Fm+4=1⋅Fm+3+Fm+2, and 0≤Fm+2<Fm+3 by step 3.1, so by the uniqueness in [L5] the quotient is q0′=1 and R′(1)=(Fm+3,Fm+2).

step 1.1step 3.1L5L8
5.1

The shifted sequence k↦R′(k+1) starts at (Fm+3,Fm+2) and obeys the same recursion as R′, hence, by the uniqueness in [L3], equals the descent from (Fm+3,Fm+2). Therefore its terminating index is m+1 by step 1.2, so R′ terminates at index 1+(m+1)=(m+1)+1; and its quotients are q0′=1 followed by the quotients of step 1.2, that is 1 repeated m+1 times and then 2. This is the claim at m+1.

step 1.2step 4.1L3L8
6.1

By induction the division count holds for every m∈N: the descent from (Fm+3,Fm+2) takes exactly m+1 divisions, with quotient 1 in the first m and quotient 2 in the last; together with step 2.2 this is the whole example.

step 2.2step 2.3step 5.1L2discharge-induction∎

Remarks

CounterexampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

6∣4⋅9 while 6∤4 and 6∤9: dividing a product does not force dividing a factor, and the coprimality hypothesis is what fails

Statement refuted

Refuted claim: for all integers d,a,b, if d∣ab then d∣a or d∣b (Divisibility in Z: d∣a when a=dq for some integer q).

Witness: d=6, a=4, b=9. Here 4⋅9=36=6⋅6, so 6∣4⋅9; but 4=0⋅6+4 and 9=1⋅6+3 have nonzero remainders, so 6∤4 and 6∤9.

The true statement in this direction carries a coprimality hypothesis (If gcd⁡(a,b)=1 and a∣bc then a∣c; and if a∣c, b∣c and gcd⁡(a,b)=1 then ab∣c): if gcd⁡(d,a)=1 and d∣ab then d∣b. That hypothesis is exactly what fails here, in both readings: gcd⁡(6,4)=2 and gcd⁡(6,9)=3, and neither is 1.

Numerals. For k∈N the symbol k inside Z means ι(k), the embedding of The naturals embed in the integers.

Facts & Assumptions

Given: The integers 4, 6, 9 and 36.

[L1]

Z is a commutative ring: multiplication is associative and commutative, x⋅1=x, x⋅(−1)=−x, x⋅0=0, and multiplication distributes over addition (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L2]

The order on Z is total, antisymmetric and transitive (The integers form a totally ordered ring, Order on the integers).

[L3]

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

[L4]

For u∈Z and v>0 there is exactly one pair (q,r) with u=qv+r and 0≤r<v, and v∣u holds exactly when r=0 (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).

[L7]

If gcd⁡(u,v)=1 and u∣vw then u∣w (If gcd⁡(a,b)=1 and a∣bc then a∣c; and if a∣c, b∣c and gcd⁡(a,b)=1 then ab∣c); u and v are coprime exactly when gcd⁡(u,v)=1 (Coprime integers: gcd⁡(a,b)=1).

[L8]

ι is injective and preserves order, and 2≠1, 3≠1 in N (The naturals embed in the integers).

Counterexample

technique · direct
1.1

4⋅9=36 and 36=6⋅6, so 6∣4⋅9.

L1L3algebra
1.2

6∤4: since 6>0, [L4] applies, and 4=0⋅6+4 with 0≤4<6 is the unique representation of that form, so the remainder is 4≠0.

L1L2L4algebra
1.3

6∤9: likewise 9=1⋅6+3 with 0≤3<6, so the remainder is 3≠0.

L1L2L4algebra
1.4

gcd⁡(6,4)=2: indeed 2≥0, 6=2⋅3 and 4=2⋅2, so 2 is a common divisor; and 6⋅1+4⋅(−1)=6−4=2, so every common divisor of 6 and 4 divides 2 by [L6]. By [L5], gcd⁡(6,4)=2, and 2≠1 by [L8].

L1L5L6L8algebra
1.5

gcd⁡(6,9)=3: indeed 3≥0, 6=3⋅2 and 9=3⋅3; and 6⋅(−1)+9⋅1=3, so every common divisor divides 3 by [L6]. By [L5], gcd⁡(6,9)=3, and 3≠1 by [L8].

L1L5L6L8algebra
2.1

Steps 1.1, 1.2 and 1.3 exhibit d=6, a=4, b=9 with d∣ab, d∤a and d∤b: the claim is refuted.

step 1.1step 1.2step 1.3
3.1

So [L7] is not contradicted: applied with u=6 it would need gcd⁡(6,4)=1 or gcd⁡(6,9)=1, and by steps 1.4 and 1.5 neither holds. The failure of the refuted claim is exactly the failure of coprimality, not a failure of the lemma.

step 2.1step 1.4step 1.5L7∎

Remarks

CounterexampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28Open item page →

The common divisors of (0,0) are all of Z and have no greatest element in the order of Z, so gcd⁡(0,0) cannot be defined as a maximum and is fixed by convention

Statement refuted

Refuted claim: for every pair of integers (a,b) the set

D(a,b)  =  { d∈Z  :  d∣a  and  d∣b }

of common divisors has a greatest element, so that gcd⁡(a,b) can be defined as that maximum at every pair (Divisibility in Z: d∣a when a=dq for some integer q, Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0).

Witness: (a,b)=(0,0). Every integer divides 0, so D(0,0)=Z; and Z has no greatest element, since m<m+1 for every m. So there is no maximum to take, and gcd⁡(0,0) is fixed by the convention gcd⁡(0,0):=0 of Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0 rather than computed.

This does not contradict A nonempty set of integers bounded above has a greatest element, and a nonempty set of integers bounded below has a least element: that lemma requires the set to be bounded above, and Z is not.

Facts & Assumptions

Given: The set D(0,0) of common divisors of 0 and 0.

[L1]

Z is a commutative ring: x⋅0=0, x+0=x, x⋅1=x, x⋅(−1)=−x, and every x has an additive inverse (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L2]

The order on Z is total, antisymmetric and transitive and is compatible with addition; positives are closed under multiplication; x<y means x≤y together with x≠y (The integers form a totally ordered ring, Order on the integers).

[L3]

d∣u means u=dq for some q; in particular d∣0 for every d, since 0=d⋅0 (Divisibility in Z: d∣a when a=dq for some integer q).

[L5]

ι:N→Z is injective with image the nonnegative integers, and ι(1)=1, ι(0)=0 (The naturals embed in the integers).

Counterexample

technique · direct
1.1

D(0,0)=Z: every integer d satisfies d∣0, so every integer is a common divisor of 0 and 0.

L3
1.2

0<1: 1=ι(1) lies in the image of ι, hence 0≤1; and 1≠0 because ι is injective and 1≠0 in N.

L5
2.1

For every m∈Z, m<m+1: adding m to 0<1 gives m≤m+1, and m=m+1 would give 0=1 after adding −m, contrary to step 1.2.

step 1.2L1L2
3.1

Z has no greatest element: if m were one, then m+1∈Z would give m+1≤m, while m<m+1 by step 2.1, contradicting antisymmetry.

step 2.1L2
3.2

[L4] is not contradicted, since its hypothesis fails: Z is not bounded above, because for any candidate bound b the integer b+1 exceeds it by step 2.1.

step 2.1L4
4.1

By steps 1.1 and 3.1 the set D(0,0) has no greatest element, so the refuted claim fails at (0,0) and no maximum defines gcd⁡(0,0).

step 1.1step 3.1
5.1

What survives at (0,0) is the divisibility characterisation [L6]: 0≥0, 0∣0, and every common divisor of (0,0) divides 0 by [L3], so 0 is the value that characterisation returns — which is exactly the convention adopted in Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0.

step 4.1L3L6∎

Remarks

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passverified 2026-08-02 (claude-opus-5)Open item page →

FALSE: For all integers a and b, gcd⁡(a,b)⋅lcm⁡(a,b)=ab

Statement

False claim: for all integers a and b,

gcd⁡(a,b)⋅lcm⁡(a,b)  =  ab

(Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0, Common multiple, and the least common multiple lcm⁡(a,b), taken to be 0 when a=0 or b=0).

The true statement is Every common multiple of a and b is a multiple of lcm⁡(a,b), and gcd⁡(a,b)⋅lcm⁡(a,b)=∣ab∣, with an absolute value on the right: gcd⁡(a,b)lcm⁡(a,b)=∣ab∣. The two differ as soon as ab is negative, and (a,b)=(−2,3) is a witness: there gcd⁡(−2,3)=1 and lcm⁡(−2,3)=6, so the left side is 6, while ab=−6.

Numerals. For k∈N the symbol k inside Z means ι(k), the embedding of The naturals embed in the integers.

Facts & Assumptions

Given: The integers −2, 3 and 6.

[L1]

Z is a commutative ring: multiplication is associative and commutative, x⋅1=x, x⋅(−1)=−x, multiplication distributes over addition, and every x has an additive inverse (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L2]

The order on Z is total, antisymmetric and transitive and is compatible with addition (The integers form a totally ordered ring, Order on the integers).

[L7]

If xz=yz and z≠0 then x=y (The integers have no zero divisors; multiplicative cancellation).

[L8]

ι is injective with image the nonnegative integers, and preserves addition and multiplication (The naturals embed in the integers).

[L9]

The refuted claim: gcd⁡(a,b)lcm⁡(a,b)=ab for all integers a,b.

Refutation

technique · direct
1.1

gcd⁡(−2,3)=1. Indeed 1≥0, and 1∣−2 and 1∣3 by [L5]; and (−2)⋅1+3⋅1=1, so every common divisor of −2 and 3 divides 1 by [L5]. By [L4] this characterises gcd⁡(−2,3).

L1L4L5L8algebra
1.2

(−2)⋅3=−6, and ∣−6∣=6 since −6≤0 and −(−6)=6.

L1L2L6L8algebra
1.3

6≠−6: otherwise 6+6=0, that is ι(12)=0=ι(0), whence 12=0 in N, contradicting injectivity of ι.

L1L8algebra
2.1

By [L3], gcd⁡(−2,3)lcm⁡(−2,3)=∣(−2)⋅3∣=6; with step 1.1 this reads 1⋅lcm⁡(−2,3)=6, so lcm⁡(−2,3)=6 by cancellation of the nonzero factor 1.

step 1.1step 1.2L1L3L7
3.1

Therefore gcd⁡(−2,3)lcm⁡(−2,3)=1⋅6=6, while (−2)⋅3=−6, and these differ: [L9] is false at (a,b)=(−2,3).

step 1.1step 1.2step 2.1step 1.3L1L9∎

Remarks

Sources