Skip to main content
CacheSleuth

Lucas Numbers

Generate Lucas numbers.

The Lucas numbers are a variation on the Fibonacci sequence. Each number in the sequence is the sum of the two numbers that precede it and begins with 2 and 1. So, the sequence goes: 2, 1, 3, 4, 7, 11, 18, 29, 47, 123, 199, and so on.

Number at a position

Computed on demand by fast doubling. Positions 0 to 1,500,000.

Results appear here.

Find a number's position

Scans the first 100,000 Lucas numbers to see whether your number is one of them.

Results appear here.

Numbers with a given digit length

Lists every Lucas number of that length within the first 100,000 positions.

Results appear here.

A range of positions

Lists the sequence between two positions. Positions 0 to 100,000.

Results appear here.