All the data you need.
Sum of divisor powers
( go to the article → https://www.johndcook.com/blog/2020/08/30/sum-of-divisor-powers/ )
The function σk takes an integer n and returns the sum of the kth powers of divisors of n. For example, the divisors of 14 are 1, 2, 4, 7, and 14. If we set k = 3 we get σ3(n) = 1³ + 2³ + 4³ + 7³ + 14³ = 3096. A couple […] The post Sum of divisor powers first appeared on John D. Cook.
Back All Articles
advert template