Problem 52085. Compute a sum involving the totient over divisors of a number
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 commentsProblem Recent Solvers6
Suggested Problems
-
Implement simple rotation cypher
1084 Solvers
-
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
136 Solvers
-
Create a vector whose elements depend on the previous element
712 Solvers
-
Detect a number and replace with two NaN's
192 Solvers
-
Highly divisible triangular number (inspired by Project Euler 12)
118 Solvers
More from this Author291
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!