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 Solvers10
Suggested Problems
-
Project Euler: Problem 10, Sum of Primes
2129 Solvers
-
Sort numbers by outside digits
163 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1284 Solvers
-
Sum the 'edge' values of a matrix
409 Solvers
-
Approximation of Pi (vector inputs)
284 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!