The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38

Find the sum of all the positive non-prime integers that do not exceed the input, N.

Solution Stats

1166 Solutions

574 Solvers

Last Solution submitted on Apr 21, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers574

Suggested Problems

Community Treasure Hunt

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

Start Hunting!