Four ways of fibonacci Just a little time capsule for myself or anyone else to calculate the Fibonacci number. One uses the yield operator, one is recursive, array reduce and the last one is a simple loop.