DEV Community

Cover image for Fibonacci Sequence in Java
coder4life
coder4life

Posted on

Fibonacci Sequence in Java

The Fibonacci sequence is one of the most famous formulas in mathematics. Each number in the sequence is the sum of the two numbers that precede it. So, the sequence goes: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and so on.

Discussion (0)