Euler's totient function (Table)
(Mylib/Number/Totient/totient_table.cpp)
Operations
-
totient_table(n)
-
i in [0, n]
について$\varphi(i)$を求める。
- $\varphi(nm) = \varphi(n) * \varphi(m)$ if nとmが互いに素
Requirements
Notes
Problems
References
Required by
Verified with
Code
Back to top page