LewisNumberCalculator

LewisNumberCalculator calculator can be used to generate Lewis numbers based on a given index.

Input Parameters

Calculation Results

Calculation Result

-

The Lewis number at the given index.

LewisNumberCalculator Calculator Usage Guide

Learn how to use the LewisNumberCalculator calculator and its working principles

How to Use the Calculator

  1. Enter a positive integer in the "Index" field. This represents the position in the sequence of Lewis numbers you want to calculate.
  2. Click the "Calculate" button to generate the Lewis number at the specified index.
  3. The result will be displayed in the "Calculation Result" section.
  4. Click "Reset" to clear the input and result fields.

Understanding Lewis Numbers

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.