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
-
Determine whether a vector is monotonically increasing
23712 Solvers
-
3099 Solvers
-
100 Solvers
-
Find a subset that divides the vector into equal halves
404 Solvers
-
check whether a number is a pentatope number
69 Solvers
More from this Author330
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!