Fungrim home page

Fungrim entry: 08ff0b

φ(n)=ndn,d<nφ(d)\varphi(n) = n - \sum_{d \mid n,\, d < n} \varphi(d)
Assumptions:nZ0n \in \mathbb{Z}_{\ge 0}
TeX:
\varphi(n) = n - \sum_{d \mid n,\, d < n} \varphi(d)

n \in \mathbb{Z}_{\ge 0}
Definitions:
Fungrim symbol Notation Short description
Totientφ(n)\varphi(n) Euler totient function
DivisorSumknf(k)\sum_{k \mid n} f(k) Sum over divisors
ZZGreaterEqualZn\mathbb{Z}_{\ge n} Integers greater than or equal to n
Source code for this entry:
Entry(ID("08ff0b"),
    Formula(Equal(Totient(n), Sub(n, DivisorSum(Totient(d), For(d, n), Less(d, n))))),
    Variables(n),
    Assumptions(Element(n, ZZGreaterEqual(0))))

Topics using this entry

Copyright (C) Fredrik Johansson and contributors. Fungrim is provided under the MIT license. The source code is on GitHub.

2019-12-11 23:01:54.699850 UTC