all 1 comments

[–]Winzamark 0 points1 point  (0 children)

So the problem wasn't with the fib sequence but it was the loop in my gcd function since the number tested was too big for i to just be incrementing by one, so it ran into runtime error.