# Library for fib /* fib calculates the fibonacci series using recursion. */ func fib(n) { if (n <= 1) { return n } return fib(n-1) + fib(n-2) }