haar_
lib
0.1.0
Module totient
Sections
References
Module Items
Functions
In haar_
lib::
math
haar_lib
::
math
Module
totient
Copy item path
Source
Expand description
トーシェント関数
§
References
https://ja.wikipedia.org/wiki/%E3%82%AA%E3%82%A4%E3%83%A9%E3%83%BC%E3%81%AE%CF%86%E9%96%A2%E6%95%B0
Functions
§
totient
n
と互いに素である自然数の個数を求める。
totient_
table
n
までのトーシェント関数のテーブル$\varphi$を構築する。