Generate a finite sequence beginning 0, 1, with each term equal to the previous two summed.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The sequence starts with 0 and 1, then each next term is their sum. The requested count controls output length and iteration avoids a closed-form approximation.
10
0, 1, 1, 2, 3, 5, 8, 13, 21, 34
Programming lessons demonstrate recurrence, number theory inspects consecutive ratios, and puzzle generators produce finite sequences.