Problem 44289. Find two triangular numbers whose sum is input.
Find two triangular numbers whose sum is input.
Note: The difference beetween the triangular numbers should be minimum.
Solution Stats
Problem Comments
-
3 Comments
When I click on solutions, a single solution is appearing and other solutions are like sub-solutions of this single solution. Something odd is going on here.
That solution is too wide to fit in Cody's editor, and it is automatically truncated into incomplete text (thus is valid only for the first run and becomes invalid upon re-scoring). Since it is very wide, it somehow shifts all other solutions to the right, making them look like sub-solutions.It has been re-scored to invalid and should not give confusion any more.
Ok. Thanks for the explanation.
Solution Comments
Show commentsProblem Recent Solvers102
Suggested Problems
-
Find state names that start with the letter N
1428 Solvers
-
Calculate the Levenshtein distance between two strings
1506 Solvers
-
Is my wife right? Now with even more wrong husband
1339 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1251 Solvers
-
Check that number is whole number
5168 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!