LewisNumberCalculator calculator can be used to generate Lewis numbers based on a given index.
Learn how to use the LewisNumberCalculator calculator and its working principles
Lewis numbers are a sequence of integers where each number is the sum of the three preceding numbers in the sequence. The sequence starts with 1, 3, and 8. For example:
1, 3, 8, 21, 55, 144, 377, ...
The formula to calculate the nth Lewis number is:
L(n) = F(n-1) + F(n-2) + F(n-3)
Where F(n) is the nth Fibonacci number.