Module totient

Source
Expand description

Functions§

totient
nと互いに素である自然数の個数を求める。
totient_table
nまでのトーシェント関数のテーブル$\varphi$を構築する。