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.

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

Congruences and Modular Arithmetic: 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 passaudited 2026-07-31Open item page →

The system x2(mod3)x\equiv2\pmod3, x3(mod5)x\equiv3\pmod5, x2(mod7)x\equiv2\pmod7 has the unique solution x23(mod105)x\equiv23\pmod{105}

Example

The system

x2(mod3),x3(mod5),x2(mod7)x\equiv2\pmod3,\qquad x\equiv3\pmod5,\qquad x\equiv2\pmod7

has exactly the solutions x23(mod105)x\equiv23\pmod{105}.

Facts & Assumptions

Given: The three displayed congruences.

[L2]

The relation uv(modn)u\equiv v\pmod n means n(uv)n\mid(u-v) (Congruence modulo an integer: ab(modn)a\equiv b\pmod n when n(ab)n\mid(a-b), including the moduli 00 and 11).

Verification

technique · constructive
1.1

The numbers 3,5,73,5,7 are pairwise coprime and have product 105105. The complementary products 35,21,1535,21,15 satisfy 2351(mod3)2\cdot35\equiv1\pmod3, 211(mod5)21\equiv1\pmod5, and 151(mod7)15\equiv1\pmod7, while each is divisible by the other two moduli.

L2
2.1

Therefore x:=2(235)+3(21)+2(15)=233x:=2(2\cdot35)+3(21)+2(15)=233 has the prescribed three residues, and 233=23+2105233=23+2\cdot105 gives x23(mod105)x\equiv23\pmod{105}.

constructstep 1.1L2
3.1

By [L1], all simultaneous solutions form one class modulo 357=1053\cdot5\cdot7=105; since step 2.1 exhibits 2323 in that class, it is exactly [23]105[23]_{105}.

step 2.1L1discharge-construct
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-07-31Open item page →

The congruence 14x30(mod100)14x\equiv30\pmod{100} has exactly the two solutions x45,95(mod100)x\equiv45,95\pmod{100}

Example

The congruence 14x30(mod100)14x\equiv30\pmod{100} has exactly the solution classes

[45]100and[95]100.[45]_{100}\quad\text{and}\quad[95]_{100}.

Facts & Assumptions

Given: The congruence 14x30(mod100)14x\equiv30\pmod{100}.

[L1]

A linear congruence axb(modn)ax\equiv b\pmod n is solvable exactly when gcd(a,n)b\gcd(a,n)\mid b, and then has exactly gcd(a,n)\gcd(a,n) solution classes modulo nn (For n1n\ge1, axb(modn)ax\equiv b\pmod n is solvable exactly when gcd(a,n)b\gcd(a,n)\mid b, and then has exactly gcd(a,n)\gcd(a,n) solution classes modulo nn).

Verification

technique · direct
1.1

The Euclidean algorithm gives gcd(14,100)=2\gcd(14,100)=2, and 2302\mid30. Cancelling the common factor reduces the congruence to 7x15(mod50)7x\equiv15\pmod{50}.

L1L2L3
1.2

Since 743=3011(mod50)7\cdot43=301\equiv1\pmod{50}, multiplication by 4343 gives x4315=64545(mod50)x\equiv43\cdot15=645\equiv45\pmod{50}.

L3
1.3

The two lifts of this class modulo 100100 are 4545 and 45+50=9545+50=95, and both verify the original congruence: 144530=60014\cdot45-30=600 and 149530=130014\cdot95-30=1300 are divisible by 100100.

L3
2.1

By [L1] there are exactly two solution classes modulo 100100, so the two distinct classes in step 1.3 exhaust them.

step 1.1step 1.2step 1.3L1
ExampleConstruction: AI-adaptedVerification: AI-adaptedprecheck passaudited 2026-07-31Open item page →

(Z/12)×={[1],[5],[7],[11]}(\mathbb{Z}/12)^\times=\{[1],[5],[7],[11]\} and φ(12)=4\varphi(12)=4

Example

(Z/12)×={[1]12,[5]12,[7]12,[11]12},φ(12)=4.(\mathbb Z/12)^\times=\{[1]_{12},[5]_{12},[7]_{12},[11]_{12}\},\qquad\varphi(12)=4.

Every displayed unit is its own inverse.

Facts & Assumptions

Given: The quotient Z/12\mathbb Z/12 and its unit group.

[F2]

Products of residue classes are computed by multiplying representatives: [a]12[b]12=[ab]12[a]_{12}[b]_{12}=[ab]_{12} (Addition and multiplication on Z/n\mathbb{Z}/n by [a]n+[b]n=[a+b]n[a]_n+[b]_n=[a+b]_n and [a]n[b]n=[ab]n[a]_n[b]_n=[ab]_n).

Verification

technique · direct
1.1

Among 0,,110,\ldots,11, exactly 1,5,7,111,5,7,11 have gcd 11 with 1212: every other representative is divisible by 22 or 33. Thus [L1] and [L2] give the displayed unit group and φ(12)=4\varphi(12)=4.

L1L2
1.2

The congruences 52=2515^2=25\equiv1, 72=4917^2=49\equiv1, and 112=1211(mod12)11^2=121\equiv1\pmod{12} show that the three nonidentity units, as well as [1]12[1]_{12}, are self-inverse.

L2F1F2
2.1

Since 12=22312=2^2\cdot3, [L3] independently gives φ(12)=(222)(31)=22=4\varphi(12)=(2^2-2)(3-1)=2\cdot2=4, agreeing with the list.

step 1.1L3
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-07-31Open item page →

The Chinese remainder bijection Z/12Z/3×Z/4\mathbb{Z}/12\to\mathbb{Z}/3\times\mathbb{Z}/4 computed on all standard representatives

Example

For standard representatives, the Chinese remainder map is

aa([a]3,[a]4)([a]_3,[a]_4)aa([a]3,[a]4)([a]_3,[a]_4)
00([0]3,[0]4)([0]_3,[0]_4)66([0]3,[2]4)([0]_3,[2]_4)
11([1]3,[1]4)([1]_3,[1]_4)77([1]3,[3]4)([1]_3,[3]_4)
22([2]3,[2]4)([2]_3,[2]_4)88([2]3,[0]4)([2]_3,[0]_4)
33([0]3,[3]4)([0]_3,[3]_4)99([0]3,[1]4)([0]_3,[1]_4)
44([1]3,[0]4)([1]_3,[0]_4)1010([1]3,[2]4)([1]_3,[2]_4)
55([2]3,[1]4)([2]_3,[1]_4)1111([2]3,[3]4)([2]_3,[3]_4)

Facts & Assumptions

Verification

technique · direct
1.1

Reducing each integer 0,,110,\ldots,11 modulo 33 and modulo 44 gives the displayed table. Its entries are all distinct, and [L1] shows that they exhaust the domain and codomain standard pairs, in agreement with [L2].

L1L2
1.2

For a nontrivial addition check, [7]12+[8]12=[3]12[7]_{12}+[8]_{12}=[3]_{12}, and the table gives ([1]3,[3]4)+([2]3,[0]4)=([0]3,[3]4)([1]_3,[3]_4)+([2]_3,[0]_4)=([0]_3,[3]_4).

L3
1.3

For a nontrivial multiplication check, [5]12[7]12=[11]12[5]_{12}[7]_{12}=[11]_{12}, and the table gives ([2]3,[1]4)([1]3,[3]4)=([2]3,[3]4)([2]_3,[1]_4)([1]_3,[3]_4)=([2]_3,[3]_4).

L3
2.1

The table computes the whole bijection, while steps 1.2 and 1.3 instantiate its componentwise arithmetic preservation.

step 1.1step 1.2step 1.3L2
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-07-31Open item page →

(Z/8)×={[1],[3],[5],[7]}(\mathbb{Z}/8)^\times=\{[1],[3],[5],[7]\} is not cyclic because every element squares to [1][1]

Example

(Z/8)×={[1]8,[3]8,[5]8,[7]8}(\mathbb Z/8)^\times=\{[1]_8,[3]_8,[5]_8,[7]_8\}

is not cyclic: every element has square [1]8[1]_8.

Facts & Assumptions

Given: The unit group (Z/8)×(\mathbb Z/8)^\times.

[L3]

Natural powers in a group satisfy g0=eg^0=e and g2=ggg^2=gg (Powers gng^{n}: natural exponents in a monoid and integer exponents in a group, with g0=eg^{0} = e).

Verification

technique · direct
1.1

The odd standard representatives 1,3,5,71,3,5,7 are precisely those coprime to 88, giving the displayed unit group by [L1].

L1
1.2

Their squares are 12=11^2=1, 32=913^2=9\equiv1, 52=2515^2=25\equiv1, and 72=491(mod8)7^2=49\equiv1\pmod8. Hence every element has order at most 22.

L3F1
2.1

The group has cardinality 44 by step 1.1, but no element has order 44 by step 1.2. Therefore no element generates it, and [L2] shows that it is not cyclic.

step 1.1step 1.2L2
ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)verified 2026-08-04 (gpt-5.6-sol-codex-subscription)Open item page →

φ(360)=96\varphi(360)=96 by both inclusion-exclusion and the prime-power product formula

Example

Euler's totient at 360360 is 9696, obtained either by excluding multiples of 2,3,52,3,5 or by multiplying the prime-power contributions.

Facts & Assumptions

Given: The positive integer 360360.

[L2]

Euler's formula gives φ(n)=i<r(pikipiki1)\varphi(n)=\prod_{i<r}\bigl(p_i^{k_i}-p_i^{k_i-1}\bigr) over the distinct prime divisors of nn and, after carrying the natural numbers into Q\mathbb{Q}, the equivalent form φ(n)=ni<r(11pi)\varphi(n)=n\prod_{i<r}\left(1-\frac1{p_i}\right) (Euler's product formula φ(n)=npn(11/p)=pkn(pkpk1)\varphi(n)=n\prod_{p\mid n}(1-1/p)=\prod_{p^k\parallel n}(p^k-p^{k-1}) for n1n\ge1, stated through a finite injective list of its prime divisors). Multiplying out that second product over the subsets of {p0,,pr1}\{p_0,\ldots,p_{r-1}\} is the inclusion-exclusion display used below; the cited theorem states the two products, not that display.

Verification

technique · direct
1.1

Inclusion-exclusion over the multiples of 2,3,52,3,5 gives φ(360)=36018012072+60+36+2412=96\varphi(360)=360-180-120-72+60+36+24-12=96.

L1L2
1.2

The product form gives φ(360)=(2322)(323)(51)=464=96\varphi(360)=(2^3-2^2)(3^2-3)(5-1)=4\cdot6\cdot4=96.

L1L2
2.1

Both computations therefore give the same value, φ(360)=96\varphi(360)=96.

step 1.1step 1.2
CounterexampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-07-31Open item page →

The system x1(mod2)x\equiv1\pmod2, x2(mod4)x\equiv2\pmod4 has no solution, so coprimality in the Chinese remainder theorem cannot be dropped

Statement refuted

Refuted claim: prescribed residue classes always determine a simultaneous class even when the positive moduli are not coprime.

The system x1(mod2)x\equiv1\pmod2, x2(mod4)x\equiv2\pmod4 is a counterexample.

Facts & Assumptions

Given: The two displayed congruences with moduli 22 and 44.

[L1]

Counterexample

technique · direct
1.1

If x1(mod2)x\equiv1\pmod2, then x1x-1 is even and xx is odd. If x2(mod4)x\equiv2\pmod4, then x2x-2 is divisible by 44 and xx is even. No integer is both odd and even, so the system has no solution.

L1
1.2

Equivalently, gcd(2,4)=2\gcd(2,4)=2 does not divide 12=11-2=-1, so the compatibility criterion in [L2] fails.

L2
2.1

The claim without coprimality admits the unsolvable system in step 1.1 and is therefore false.

step 1.1step 1.2
ExampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-07-31Open item page →

A modulus n>1n>1 is composite exactly when two nonzero classes in Z/n\mathbb{Z}/n have product [0]n[0]_n

Example

For every integer n>1n>1, the following are equivalent:

  1. nn is composite.
  2. There are nonzero classes u,vZ/nu,v\in\mathbb Z/n with uv=[0]nuv=[0]_n.

Facts & Assumptions

Given: An integer n>1n>1.

[L1]

A positive integer greater than 11 is composite exactly when it has a divisor dd with 1<d<n1<d<n; otherwise it is prime (Prime and composite integers: pp is prime when p>1p > 1 and its only positive divisors are 11 and pp).

[L3]

A class [a]n[a]_n is a unit exactly when gcd(a,n)=1\gcd(a,n)=1, and the gcd is a nonnegative common divisor that is positive when its arguments are not both zero (For n1n\ge1, [a]n[a]_n is a unit if and only if gcd(a,n)=1\gcd(a,n)=1, Common divisor, and the greatest common divisor gcd(a,b)\gcd(a,b), with the convention gcd(0,0):=0\gcd(0,0) := 0).

Verification

technique · direct
1.1

If nn is composite, write n=abn=ab with 1<a<n1<a<n and 1<b<n1<b<n. Then [a]n[a]_n and [b]n[b]_n are nonzero standard classes, but [a]n[b]n=[ab]n=[n]n=[0]n[a]_n[b]_n=[ab]_n=[n]_n=[0]_n.

L1L2
1.2

Conversely, suppose nonzero classes have product zero and choose their standard representatives a,ba,b, so 0<a,b<n0<a,b<n and nabn\mid ab. The class [a]n[a]_n cannot be a unit, because multiplying an equation [a]n[b]n=[0]n[a]_n[b]_n=[0]_n by its inverse would give [b]n=[0]n[b]_n=[0]_n. Hence d:=gcd(a,n)>1d:=\gcd(a,n)>1 by [L3]. Since dad\mid a and 0<a<n0<a<n, one also has d<nd<n, so dd is a nontrivial divisor of nn and nn is composite by [L1].

L1L2L3
2.1

Steps 1.1 and 1.2 prove the equivalence.

step 1.1step 1.2
False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-07-31Open item page →

False: [a]n[b]n=[0]n[a]_n[b]_n=[0]_n always implies [a]n=[0]n[a]_n=[0]_n or [b]n=[0]n[b]_n=[0]_n

Statement

False claim: for every natural modulus nn,

[a]n[b]n=[0]n[a]n=[0]n or [b]n=[0]n.[a]_n[b]_n=[0]_n\quad\Longrightarrow\quad[a]_n=[0]_n\ \text{or}\ [b]_n=[0]_n.

Facts & Assumptions

Given: The quotient Z/6\mathbb Z/6 and the classes [2]6,[3]6[2]_6,[3]_6.

Refutation

technique · direct
1.1

In Z/6\mathbb Z/6, [2]6[3]6=[6]6=[0]6[2]_6[3]_6=[6]_6=[0]_6 by [L1].

L1
1.2

Neither 626\mid2 nor 636\mid3, so [2]6[0]6[2]_6\ne[0]_6 and [3]6[0]6[3]_6\ne[0]_6.

L2
2.1

Thus the antecedent of the claimed implication holds while both alternatives in its conclusion fail, so the claim is false.

step 1.1step 1.2
CounterexampleConstruction: Literature-sourcedVerification: AI-adaptedprecheck passaudited 2026-07-31Open item page →

Z/1\mathbb{Z}/1 has one element and satisfies [0]1=[1]1[0]_1=[1]_1, so it is not a field

Statement refuted

The modular operations do not make Z/n\mathbb Z/n a field for every positive modulus nn: the boundary modulus n=1n=1 is a counterexample.

Facts & Assumptions

Given: The quotient Z/1\mathbb Z/1 with its modular operations.

[L2]

Its modular operations satisfy the abelian-group, commutative-monoid and distributive identities, with additive identity [0]1[0]_1 and multiplicative identity [1]1[1]_1 (For every natural nn, (Z/n,+)(\mathbb{Z}/n,+) is an abelian group, multiplication is a commutative monoid operation, and both distributive laws hold).

[L3]

A field must have distinct additive and multiplicative identities (Field).

Counterexample

technique · direct
1.1

By [L1], all integers determine the same class modulo 11, so in particular [0]1=[1]1[0]_1=[1]_1.

L1
2.1

Although the other algebraic identities hold by [L2], the equality in step 1.1 violates the distinct-identities clause [L3]. Hence Z/1\mathbb Z/1 is not a field.

step 1.1L2L3

Sources