Asif,
I think some of the solution vectors in this problem are incorrect. In problem 2, for example, all the numbers after 120 are duplicates.
sorry about that..there was a bug in my code
It's been fixed now
Find the sum of all the numbers of the input vector
32051 Solvers
1838 Solvers
594 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1022 Solvers
621 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!