Find two triangular numbers whose sum is input. - MATLAB Cody - MATLAB Central

Problem 44289. Find two triangular numbers whose sum is input.

Difficulty:Rate

Find two triangular numbers whose sum is input.

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

Solution Stats

65.97% Correct | 34.03% Incorrect
Last Solution submitted on Dec 14, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
12
4

Problem Recent Solvers95

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!
Go to top of page