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 comments
Loading...
Problem Recent Solvers10
Suggested Problems
-
Compute the antisigma function
10 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!