Problem 44334. Sums of Multiple Pairs of Triangular Numbers
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 2 Jul 2020
The first test case is wrong 0 and 21 are triangular numbers too (https://oeis.org/A000217), therefore:
multi_triangular(21)
[ 0, 6;
21, 15]
PS: And 0 does not make a pair with every number in this case.
Solution Comments
Show commentsProblem Recent Solvers228
Suggested Problems
-
Remove all the words that end with "ain"
2008 Solvers
-
Mersenne Primes vs. All Primes
527 Solvers
-
Write c^3 as sum of two squares a^2+b^2
311 Solvers
-
545 Solvers
-
Calculate Amount of Cake Frosting
20438 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!