This solution is correct to within eps, but the test is expecting exact agreement. That is not good programming when dealing with floating point numbers.
Return the 3n+1 sequence for n
6287 Solvers
Sort a list of complex numbers based on far they are from the origin.
4385 Solvers
Find the repeating decimal pattern!
14 Solvers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
172 Solvers
USC Fall 2012 ACM: Martian Pranks
5 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!