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
-
3444 Solvers
-
Find common elements in matrix rows
2720 Solvers
-
The Hitchhiker's Guide to MATLAB
3418 Solvers
-
Program an exclusive OR operation with logical operators
751 Solvers
-
How many trades represent all the profit?
619 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!