Problem 44334. Sums of Multiple Pairs of Triangular Numbers
45.14% Correct | 54.86% Incorrect
Last Solution submitted on Jan 20, 2023
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:
[ 0, 6;
PS: And 0 does not make a pair with every number in this case.
Problem Recent Solvers227
Select every other element of a vector
Return unique values without sorting
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!