Problem 60935. Compute the antisigma function

The sum of divisors function, or sigma(n), 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

77.78% Correct | 22.22% Incorrect
Last Solution submitted on Jul 09, 2025

Solution Comments

Show comments

Problem Recent Solvers6

Suggested Problems

More from this Author306

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!