login
A023448
a(n) = n-6.
2
-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53
OFFSET
0,1
FORMULA
From M. F. Hasler, Apr 18 2015: (Start)
a(n) = 2*a(n-1) - a(n-2).
a(n) = -A022962(n).
G.f.: (-6+7*x)/(1-x)^2. (End)
MATHEMATICA
Range[0, 100] - 6 (* Paolo Xausa, Jul 28 2024 *)
PROG
(PARI) a(n)=n-6
CROSSREFS
KEYWORD
sign,easy
STATUS
approved