Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedprecheck 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.

Euler's product formula φ(n)=n∏p∣n(1−1/p)=∏pk∥n(pk−pk−1) for n≥1, stated through a finite injective list of its prime divisors

Statement

Let n≥1, and let p0,…,pr−1 be an injective finite list consisting exactly of the prime divisors of n. Put ki:=vpi(n), so ki≥1. Then

φ(n)=∏i<r(piki−piki−1).

After carrying the natural numbers into Q, the same identity is

φ(n)=n∏i<r(1−1pi).

At n=1 the list is empty, both products are empty products equal to 1, and φ(1)=1. These finite-list formulas are the precise meanings of the two products displayed in the title.

Facts & Assumptions

Given: A positive integer n and an injective finite list p0,…,pr−1 consisting exactly of its prime divisors; ki:=vpi(n).

[L1]

A class modulo n is a unit exactly when its representative is coprime to n, and φ(n) counts the unit classes (For n≥1, [a]n is a unit if and only if gcd⁡(a,n)=1, The unit group (Z/n)× and Euler's totient φ(n)=∣(Z/n)×∣ for n≥1).

[L6]

Natural finite products have empty value 1 and obey the successor recursion (Finite sums and finite products of natural numbers, ∑k<nak and ∏k<nak in N); the integers embed injectively in the field Q, which in turn embeds injectively as an ordered subfield of R (The integers embed in the rationals, The rationals form a field, The rationals embed densely in the reals).

[L7]

Induction is valid on natural numbers (The principle of mathematical induction).

[L10]

Multiplication by a nonzero integer is cancellative (The integers have no zero divisors; multiplicative cancellation).

Proof

technique · direct
1.1

For i<r, let Ai:={a∈X:pi∣a}. Since the pi are distinct primes, they are pairwise coprime by [L8]. For J⊆{0,…,r−1} put qJ:=∏j∈Jpj, with q∅=1. By [L5], the intersection AJ consists exactly of the standard representatives divisible by qJ.

L2L5L8
1.2

A representative a∈X lies outside every Ai exactly when no prime divisor of n divides a. This is equivalent to gcd⁡(a,n)=1: a common divisor greater than 1 would have a prime divisor by [L9], and every such prime would occur in the list. Therefore X∖⋃iAi is precisely the set of unit representatives and has cardinality φ(n).

L1L4L9
1.3

By [L4], n=∏i<rpiki. In Q, finite distributivity and ki≥1 give piki(1−1/pi)=piki−piki−1 for each i, hence n∏i<r(1−1/pi)=∏i<r(piki−piki−1).

L4L6
2.1

The integer qJ divides n by [L4]. Multiplication by qJ bijects the integers t with 0≤t<n/qJ onto AJ: its values lie between 0 and n−1, every member of AJ has the required quotient, and [L10] gives injectivity. Hence ∣AJ∣=n/qJ.

step 1.1L2L4L10
3.1

Inclusion-exclusion applied to steps 1.1, 2.1 and 1.2 gives this equality after embedding its integer and rational terms in R. Both sides come from Q, and the ordered-field embedding Q→R is injective by [L6], so already in Q one has φ(n)=∑J⊆{0,…,r−1}(−1)∣J∣n/qJ.

step 1.1step 2.1step 1.2L3L6
4.1

Finite distributivity gives ∏i<r(1−1/pi)=∑J(−1)∣J∣/qJ: the empty case reads 1=1, and adjoining pr replaces every old term 1/qJ by the pair 1/qJ and −1/(qJpr), indexed respectively by subsets not containing and containing r. Multiplying this identity by n and using step 3.1 yields φ(n)=n∏i<r(1−1/pi).

step 3.1L6L7
5.1

Combining steps 4.1 and 1.3 proves both formulas. When n=1, there are no prime divisors, so the list is empty; the products equal 1 by [L6], and φ(1)=1 by [L1].

step 4.1step 1.3L1L6∎

Remarks

Depends on

Used by

Dependency tree · two levels

101 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