A299174 The positive even integers.
2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144
Offset: 1
Links
- Joss Langford, Simple Integer Sequences
- James B. Shearer, Periods of strings, American Scientist Vol. 84, No. 3 (May-June 1996), p. 207. (See final page of pdf, and see also pp. 3-4 for an introduction.)
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
Crossrefs
Programs
-
Maple
A299174 := n->2*n;
-
Mathematica
Range[2, 180, 2]
-
PARI
a(n)=2*n \\ Charles R Greathouse IV, Dec 13 2021
-
R
seq(2, 180, 2)
Formula
a(n) = 2*n, n >= 1.
G.f.: 2*x/(1 - x)^2; corrected by Ilya Gutkovskiy, Mar 29 2018
a(n) = 2*a(n-1) - a(n-2). - Wesley Ivan Hurt, Jul 17 2025
Comments