Sollicitatievraag bij J.P. Morgan

How would you implement the Fibonacci sequence?