Alphabeta Math
CorollaryStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 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.

For prime p and d≥1, the congruence xd≡1(modp) has gcd⁡(d,p−1) nonzero solutions

Statement

Let p be prime and d≥1. The congruence xd≡1(modp) has exactly gcd⁡(d,p−1) nonzero residue-class solutions. In particular, it has exactly d solutions when d∣(p−1).

Facts & Assumptions

Given: A prime p and a positive integer d.

[L1]

(Z/p)× is cyclic of order p−1 (For every prime p, the multiplicative group (Z/pZ)× is cyclic).

[L3]

The greatest common divisor c=gcd⁡(d,p−1) divides both d and p−1 (Common divisor, and the greatest common divisor gcd⁡(a,b), with the convention gcd⁡(0,0):=0).

[L4]

Dividing two integers by their nonzero greatest common divisor gives coprime quotients (If d=gcd⁡(a,b) is nonzero then a/d and b/d are coprime).

[L5]

If two integers are coprime and one divides a product containing the other, it divides the remaining factor (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).

Proof

technique · direct
1.1L1L2choose

Choose a generator g from [L1]. Every nonzero class is uniquely ga with a modulo p−1.

1.2L3L4algebra

Put c=gcd⁡(d,p−1). Since p−1≥1, c is nonzero; write d=cd′, p−1=cm′, and use [L4] to obtain gcd⁡(d′,m′)=1.

2.1step 1.1step 1.2L2L5

By [L2], (ga)d=1 exactly when (p−1)∣ad, which by step 1.2 and [L5] is equivalent to m′∣a.

3.1step 2.1algebra∎

Modulo p−1=cm′, precisely the c classes 0,m′,…,(c−1)m′ satisfy step 2.1, proving the count. If d∣(p−1) then c=d.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

42 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