3 ms·
It also converges closer and closer to the golden ratio. Implementing a property test for that would be interesting.
by xtagon 4y ago
It also converges closer and closer to the golden ratio. Implementing a property test for that would be interesting.
- travisjungroth 4y agoa, b, c = fib(n), fib(n+1), fib(n+2) assert abs(c / b - phi) < abs(b / a - phi)