OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..5000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 2*a(n-1) - a(n-2). - Vincenzo Librandi, May 29 2011
G.f.: 2*( 4+x ) / (x-1)^2 . - R. J. Mathar, Nov 26 2014
MATHEMATICA
Range[8, 1000, 10] (* Vladimir Joseph Stephan Orlovsky, May 28 2011 *)
LinearRecurrence[{2, -1}, {8, 18}, 60] (* Harvey P. Dale, Aug 31 2015 *)
PROG
(Magma) [10*n+8: n in [0..60]]; // Vincenzo Librandi, May 29 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved