OFFSET
0,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-2).
FORMULA
a(n) = -2*a(n-1), n>2.
a(n) = (-1)^(n+1)*A020714(n-2), n>1.
From Colin Barker, Jan 07 2013: (Start)
a(n) = -5*(-1)^n*2^(n-2) for n>1.
G.f.: (3*x^2+6*x+1)/(2*x+1). (End)
E.g.f.: (9/4) + (3/2)*x - (5/4)*exp(-2*x). - Alejandro J. Becerra Jr., Feb 15 2021
MATHEMATICA
Join[{1, 4}, NestList[-2#&, -5, 40]] (* Harvey P. Dale, Aug 02 2012 *)
Join[{1, 4}, LinearRecurrence[{-2}, {-5}, 48]] (* G. C. Greubel, May 17 2016 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Oct 17 2009
EXTENSIONS
Edited, comments not concerning this sequence removed, and extended by R. J. Mathar, Oct 21 2009
STATUS
approved