2 lines
92 B
Groovy
2 lines
92 B
Groovy
final φ = (1 + 5**(1/2))/2
|
|
def aFib = { (φ**it - (-φ)**(-it))/(5**(1/2)) as BigInteger }
|