Jacobsthal number
From Wikipedia, the free encyclopedia
In mathematics, the Jacobsthal numbers are an integer sequence named after the German mathematician Ernst Jacobsthal. Like the related Fibonacci numbers, they are a specific type of Lucas sequence—Jacobsthal numbers are the type for which P = 1, and Q = −2[1]—and are defined by a similar recurrence relation: in simple terms, the sequence starts with 0 and 1, then each following number is found by adding the number before it to twice the number before that. The first Jacobsthal numbers (sequence A001045 in OEIS) are:
- 0, 1, 1, 3, 5, 11, 21, 43, 85, 171, 341, 683, 1365, 2731, 5461, 10923, 21845, 43691, 87381, 174763, 349525, …
[edit] Jacobsthal numbers
Jacobsthal numbers are defined by the recurrence relation:
The next Jacobsthal number is also given by the recursion formula:
The first recursion formula above is also satisfied by the powers of 2; the second is not.
The Jacobsthal number at a specific point in the sequence may be calculated directly using the closed-form equation:[2]
[edit] Jacobsthal-Lucas numbers
Jacobsthal-Lucas numbers retain the recurrence relation, Ln-1 + Ln-2, of Jacobsthal numbers, but use the starting conditions of the Lucas numbers, i.e. L0 = 2, and L1 = 1; they are defined by the recurrence relation:
The following Jacobsthal-Lucas number also satisfies:[3]
The Jacobsthal-Lucas number at a specific point in the sequence may be calculated directly using the closed-form equation:[3]
The first Jacobsthal-Lucas numbers (sequence A014551 in OEIS) are:
- 2, 1, 5, 7, 17, 31, 65, 127, 257, 511, 1025, 2047, 4097, 8191, 16385, 32767, 65537, 131071, 262145, 524287, 1048577, …
[edit] References
- ^ Weisstein, Eric W. (2006-05-15). Jacobsthal Number. Wolfram Mathworld. Retrieved on 2007-10-03.
- ^ Sloane, Neil J.A. (2007-10-01). Jacobsthal sequence. The On-Line Encyclopedia of Integer Sequences. Retrieved on 2007-10-03.
- ^ a b Sloane, Neil J.A. (2007-10-03). Jacobsthal-Lucas numbers. The On-Line Encyclopedia of Integer Sequences. Retrieved on 2007-10-05.