Hm... in R2018 it work OK. When n=0 ans=1
Project Euler: Problem 6, Natural numbers, squares and sums.
1034 Solvers
538 Solvers
464 Solvers
Solve a System of Linear Equations
3793 Solvers
57 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!