[issue31757] Tutorial: Fibonacci numbers start with 1, 1

Mark Dickinson report at bugs.python.org
Wed Oct 11 12:14:21 EDT 2017


Mark Dickinson <dickinsm at gmail.com> added the comment:

A nice response to the question of whether to start with 0 or 1 here: https://stackoverflow.com/a/5901955

> The definition with Fib(0) = 1 is known as the combinatorial
> definition, and Fib(0) = 0 is the classical definition. Both
> are used in the Fibonacci Quarterly, though authors that use
> the combinatorial definition need to add a sentence of
> explanation.

I confess that I hadn't heard of the Fibonacci Quarterly before.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31757>
_______________________________________


More information about the Python-bugs-list mailing list