Assumptions:
TeX:
\sum_{k=1}^{n} \gcd\!\left(n, k\right) = \sum_{d \mid n} d \varphi\!\left(\frac{n}{d}\right) n \in \mathbb{Z}_{\ge 0}
Definitions:
Fungrim symbol | Notation | Short description |
---|---|---|
Sum | Sum | |
GCD | Greatest common divisor | |
DivisorSum | Sum over divisors | |
Totient | Euler totient function | |
ZZGreaterEqual | Integers greater than or equal to n |
Source code for this entry:
Entry(ID("aaef97"), Formula(Equal(Sum(GCD(n, k), For(k, 1, n)), DivisorSum(Mul(d, Totient(Div(n, d))), For(d, n)))), Variables(n), Assumptions(Element(n, ZZGreaterEqual(0))))