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 Solvers8
Suggested Problems
-
Sum of first n terms of a harmonic progression
520 Solvers
-
699 Solvers
-
Large Sum (inspired by Project Euler 13)
117 Solvers
-
Count numbers whose reciprocals' decimal expansions terminate
15 Solvers
-
Count the primes in Collatz sequences
21 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!