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
-
Read a column of numbers and interpolate missing data
2355 Solvers
-
Area of an equilateral triangle
6999 Solvers
-
Find my daddy long leg (No 's')
2847 Solvers
-
List prime anagrams of a number
23 Solvers
-
Compute the sum of reciprocals of quadratics
14 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!