Write a function to find integers n less than or equal to an input value m that solve the equation
. The function
gives the sum of divisors of x; for example,
. The totient function
counts numbers less than x that are relatively prime to x. For example,
because 1, 2, 4, 7, 8, 11, 13, and 14 are relatively prime to 15; that is, the greatest common divisor of 15 and each of the eight numbers is 1.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers9
Suggested Problems
-
Flip the main diagonal of a matrix
905 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
I've got the power! (Inspired by Project Euler problem 29)
143 Solvers
-
Matrix rotation as per given angle
120 Solvers
-
Create cell array of numeric arrays
45 Solvers
More from this Author322
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!