/** Function to generate the nth item of the Fibonacci sequence. It should be noted that Fibonacci number 0 is 0 and Fibonacci number 1 is 1. */ fibonacciN[n] := { a = 0 b = 1 count = 0 while count