Problem 60935. Compute the antisigma function
The sum of divisors function, or
, is the sum of the numbers that divide n. The antisigma function is the sum of numbers less than n that do not divide n. For example, antisigma(15) = 2+4+6+7+8+9+10+11+12+13+14 = 96.
Write a function that computes the antisigma function.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
Compute the antisigma function
6 Solvers
More from this Author306
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!