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.

Euler's criterion: if n has a primitive root, gcd⁡(a,n)=1, and m≥1, then xm≡a(modn) is solvable if and only if aφ(n)/gcd⁡(φ(n),m)≡1(modn)

Statement

Let n≥1 admit a primitive root, let gcd⁡(a,n)=1, and let m≥1. Put d=gcd⁡(m,φ(n)). Then

xm≡a(modn)

is solvable if and only if

aφ(n)/d≡1(modn).

Facts & Assumptions

Given: Integers n≥1, a, and m≥1 satisfying the stated hypotheses, and d=gcd⁡(m,φ(n)).

[L1]

A primitive root has order φ(n) (Primitive roots modulo n).

[L2]

Relative to a primitive root g, every unit has a unique index modulo φ(n) (The index ind⁡g(a) of a unit relative to a primitive root).

[L3]

Index calculus turns a power into scalar multiplication of its index (Index calculus: products become sums and powers become scalar multiples modulo φ(n)).

[L6]

A class modulo n is a unit exactly when its representative is coprime to n (For n≥1, [a]n is a unit if and only if gcd⁡(a,n)=1).

Proof

technique · direct
1.1L1L2L6choosealgebra

Choose a primitive root g, put f=φ(n), and let k=ind⁡g(a). By [L6], a is a unit. If xm=a, then x(xm−1a−1)=1, so every solution x is also a unit.

1.2L1L3L5algebra

Again by [L1] and [L3], af/d=1 exactly when f∣kf/d. Since d∣f by [L5], this is equivalent to d∣k.

2.1step 1.1L2L3L4

By [L2] and [L3], writing a candidate unit as x=gy turns xm=a in the unit group into my≡k(modf). By [L4], this is solvable exactly when d∣k.

3.1step 2.1step 1.2∎

Steps 2.1 and 1.2 give the claimed biconditional. The argument also covers n=1 and m=1, where f=d=1.

Depends on

Used by

Dependency tree · two levels

24 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