Write a function to compute the following sum:
where
is the totient function. The sum is computed over the divisors of n (including 1 and n). The input to the function will be two limits a and b. Compute y for
.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers9
Suggested Problems
-
The Answer to Life, the Universe, and Everything
588 Solvers
-
Count letters occurence in text, specific to words with a given length.
206 Solvers
-
Big numbers, least significant digits
109 Solvers
-
89 Solvers
-
Iterate the sum of divisors and totient
18 Solvers
More from this Author329
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!