Could you check test case 4? It seems that for n = 314159, integers a, b, c > 1 do not exist, and the answer should be 0's...
Agree.
You are both correct. Too much copying and pasting... Apologies. Issue fixed.
Swap the first and last columns
12672 Solvers
5740 Solvers
960 Solvers
Back to basics 25 - Valid variable names
294 Solvers
Find a subset that divides the vector into equal halves
335 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!