Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passaudited 2026-07-31
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 every positive integer nn, dn, d>0φ(d)=n\sum_{d\mid n,\ d>0}\varphi(d)=n

Statement

For every positive integer nn,

dnd>0φ(d)=n.\sum_{\substack{d\mid n\\d>0}}\varphi(d)=n.

The sum is over the finite set of positive divisors of nn (The sum iSai\sum_{i \in S} a_i over a finite index set, and its product form).

Facts & Assumptions

Given: A positive integer nn, its standard representative set X:={aZ:0a<n}X:=\{a\in\mathbb Z:0\le a<n\}, and its positive-divisor set D:={dZ:dn, d>0}D:=\{d\in\mathbb Z:d\mid n,\ d>0\}.

Proof

technique · direct
1.1

For each dDd\in D, put Xd:={aX:n/gcd(a,n)=d}X_d:=\{a\in X:n/\gcd(a,n)=d\}. Every aXa\in X lies in exactly one such block: its positive gcd g=gcd(a,n)g=\gcd(a,n) divides nn, and d=n/gd=n/g is a positive divisor of nn. Thus the XdX_d form a partition of XX.

L2L5
1.2

Fix dDd\in D and put c:=n/d>0c:=n/d>0. Multiplication by cc sends each standard unit representative uu modulo dd to a:=cuXa:=cu\in X, because 0u<d0\le u<d gives 0cu<n0\le cu<n; moreover gcd(a,n)=gcd(cu,cd)=cgcd(u,d)=c\gcd(a,n)=\gcd(cu,cd)=c\gcd(u,d)=c, so n/gcd(a,n)=dn/\gcd(a,n)=d and aXda\in X_d.

L1L2
1.3

Conversely, if aXda\in X_d, then gcd(a,n)=n/d=c\gcd(a,n)=n/d=c, so cac\mid a and a=cua=cu for a unique integer uu. The bounds on aa give 0u<d0\le u<d, and c=cgcd(u,d)c=c\gcd(u,d) by [L2], so cancellation gives gcd(u,d)=1\gcd(u,d)=1. Thus uu is a standard unit representative modulo dd.

L1L2L5
2.1

Steps 1.2 and 1.3 are inverse constructions, so Xd=φ(d)|X_d|=\varphi(d) for every dDd\in D.

step 1.2step 1.3L1
3.1

The index set DD is finite by [L3]. Applying the sum rule to the partition in step 1.1 and using step 2.1 gives n=X=dDXd=dDφ(d)n=|X|=\sum_{d\in D}|X_d|=\sum_{d\in D}\varphi(d).

step 1.1step 2.1L1L3L4

Remarks

  • The partition by n/gcd(a,n)n/\gcd(a,n) is an incidence identity: each residue is assigned to one positive divisor, and the block over dd is counted by the units modulo dd.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 99 results over 24 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources