OFFSET
0,1
LINKS
Tanya Khovanova, Recursive Sequences.
Robert G. Wilson v, American English names for the numbers from 0 to 100999 without spaces or hyphens.
Index entries for linear recurrences with constant coefficients, signature (2,-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
AUTHOR
STATUS
approved