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.
Return the 3n+1 sequence for n
6210 Solvers
1110 Solvers
518 Solvers
Operate on matrices of unequal, yet similar, size
104 Solvers
Height of a right-angled triangle
465 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!