This sequence is useful for practicing recurrence relations, testing an algorithm and studying how a rule plus starting values defines a sequence. The previous and next outputs provide a direct local check: adding the previous term to the result must produce the next term.
Indexing and alternative starting lists
Some teaching materials begin the displayed list with 1, 1 and call those the first and second terms. Their nth term can therefore differ from an index that starts at zero. Write an explicit label, such as F₆, alongside the answer rather than relying only on “the sixth number.”
Exact large terms
The implementation adds nonnegative integer strings one digit at a time rather than relying on a fixed-size server integer. Commas are inserted only after the calculation. This keeps every displayed digit exact through the supported maximum index of 5,000.
The maximum accepted index, n = 5,000, produces a 1,045-digit answer. That is a storage and display task, not a reason to round the sequence term. Use the full string for an exact comparison; an ordinary spreadsheet cell or a numerical conversion can lose precision.
The illustrated squares and spiral show a familiar way to arrange sequence lengths. They do not establish that every natural spiral follows Fibonacci numbers, and the calculator does not make predictions about markets or measured growth from the sequence alone.