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
-
273 Solvers
-
Compute a dot product of two vectors x and y
1053 Solvers
-
Magic is simple (for beginners)
11561 Solvers
-
Generate a random matrix A of (1,-1)
430 Solvers
-
Easy Sequences 2: Trigonometric function with integral input and output
44 Solvers
More from this Author325
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!