Find two triangular numbers whose sum is input.

Note: The difference beetween the triangular numbers should be minimum.

Solution Stats

200 Solutions

102 Solvers

Last Solution submitted on Dec 24, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers102

Suggested Problems

More from this Author92

Community Treasure Hunt

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

Start Hunting!