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

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

Statement

Let n1n\ge1, and let p0,,pr1p_0,\ldots,p_{r-1} be an injective finite list consisting exactly of the prime divisors of nn. Put ki:=vpi(n)k_i:=v_{p_i}(n), so ki1k_i\ge1. Then

φ(n)=i<r(pikipiki1).\varphi(n)=\prod_{i<r}\bigl(p_i^{k_i}-p_i^{k_i-1}\bigr).

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

φ(n)=ni<r(11pi).\varphi(n)=n\prod_{i<r}\left(1-\frac1{p_i}\right).

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

Facts & Assumptions

Given: A positive integer nn and an injective finite list p0,,pr1p_0,\ldots,p_{r-1} consisting exactly of its prime divisors; ki:=vpi(n)k_i:=v_{p_i}(n).

[L6]

Natural finite products have empty value 11 and obey the successor recursion (Finite sums and finite products of natural numbers, k<nak\sum_{k<n} a_k and k<nak\prod_{k<n} a_k in N\mathbb{N}); the integers embed injectively in the field Q\mathbb Q, which in turn embeds injectively as an ordered subfield of R\mathbb 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<ri<r, let Ai:={aX:pia}A_i:=\{a\in X:p_i\mid a\}. Since the pip_i are distinct primes, they are pairwise coprime by [L8]. For J{0,,r1}J\subseteq\{0,\ldots,r-1\} put qJ:=jJpjq_J:=\prod_{j\in J}p_j, with q=1q_\varnothing=1. By [L5], the intersection AJA_J consists exactly of the standard representatives divisible by qJq_J.

L2L5L8
1.2

A representative aXa\in X lies outside every AiA_i exactly when no prime divisor of nn divides aa. This is equivalent to gcd(a,n)=1\gcd(a,n)=1: a common divisor greater than 11 would have a prime divisor by [L9], and every such prime would occur in the list. Therefore XiAiX\setminus\bigcup_iA_i is precisely the set of unit representatives and has cardinality φ(n)\varphi(n).

L1L4L9
1.3

By [L4], n=i<rpikin=\prod_{i<r}p_i^{k_i}. In Q\mathbb Q, finite distributivity and ki1k_i\ge1 give piki(11/pi)=pikipiki1p_i^{k_i}(1-1/p_i)=p_i^{k_i}-p_i^{k_i-1} for each ii, hence ni<r(11/pi)=i<r(pikipiki1)n\prod_{i<r}(1-1/p_i)=\prod_{i<r}(p_i^{k_i}-p_i^{k_i-1}).

L4L6
2.1

The integer qJq_J divides nn by [L4]. Multiplication by qJq_J bijects the integers tt with 0t<n/qJ0\le t<n/q_J onto AJA_J: its values lie between 00 and n1n-1, every member of AJA_J has the required quotient, and [L10] gives injectivity. Hence AJ=n/qJ|A_J|=n/q_J.

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\mathbb R. Both sides come from Q\mathbb Q, and the ordered-field embedding QR\mathbb Q\to\mathbb R is injective by [L6], so already in Q\mathbb Q one has φ(n)=J{0,,r1}(1)Jn/qJ\varphi(n)=\sum_{J\subseteq\{0,\ldots,r-1\}}(-1)^{|J|}n/q_J.

step 1.1step 2.1step 1.2L3L6
4.1

Finite distributivity gives i<r(11/pi)=J(1)J/qJ\prod_{i<r}(1-1/p_i)=\sum_J(-1)^{|J|}/q_J: the empty case reads 1=11=1, and adjoining prp_r replaces every old term 1/qJ1/q_J by the pair 1/qJ1/q_J and 1/(qJpr)-1/(q_Jp_r), indexed respectively by subsets not containing and containing rr. Multiplying this identity by nn and using step 3.1 yields φ(n)=ni<r(11/pi)\varphi(n)=n\prod_{i<r}(1-1/p_i).

step 3.1L6L7
5.1

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

step 4.1step 1.3L1L6

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 164 results over 35 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