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 Solvers7
Suggested Problems
-
318 Solvers
-
Back to basics 22 - Rotate a matrix
936 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
682 Solvers
-
Sum the elements in either diagonal of a square matrix
221 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
904 Solvers
More from this Author321
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!