Fibonacci Numbers

The well-known Fibonacci number series, reputedly discovered by Leonardo of Pisa around the year 1200, has been valued for centuries for its universal qualities by artists, mathematicians, and composers. Each number in the series after the number 1 is the sum of the two previous numbers:

1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ¡K

Write a program that generates and displays the first 24 numbers in the Fibonacci series, beginning with 1 and ending with 46,368.