-
4 Comments
Show
1 older comment
Heiko
on 15 Nov 2017
I get precisely the same results as Angelo...
Mehmet OZC
on 16 Nov 2017
Angelo and Heiko, your solutions are working to a degree. However to obtain exact results on big numbers you have to use different tools. You can search for uint64 and bigdecimal. Hope it helps.
Hans Kramer
on 3 Dec 2018
Thanks for the tip with uint64.
Suggested Problems
-
1850 Solvers
-
Determine if input is a perfect number
242 Solvers
-
1479 Solvers
-
268 Solvers
-
85 Solvers
More from this Author92
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!