-
galois.divisor_sigma(n: int, k: int =
1
) int Returns the sum of
-th powers of the positive divisors of .Notes
This function implements the
function. It is defined as:Examples
In [1]: galois.divisors(9) Out[1]: [1, 3, 9] In [2]: galois.divisor_sigma(9, k=0) Out[2]: 3 In [3]: galois.divisor_sigma(9, k=1) Out[3]: 13 In [4]: galois.divisor_sigma(9, k=2) Out[4]: 91