Assumptions:
TeX:
\varphi(n) = \# \left\{ k : k \in \{1, 2, \ldots, n\} \,\mathbin{\operatorname{and}}\, \gcd\!\left(n, k\right) = 1 \right\} n \in \mathbb{Z}_{\ge 0}
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
Totient | Euler totient function | |
Cardinality | Set cardinality | |
Range | Integers between given endpoints | |
GCD | Greatest common divisor | |
ZZGreaterEqual | Integers greater than or equal to n |
Source code for this entry:
Entry(ID("c19cd6"), Formula(Equal(Totient(n), Cardinality(Set(k, ForElement(k, Range(1, n)), Equal(GCD(n, k), 1))))), Variables(n), Assumptions(Element(n, ZZGreaterEqual(0))))