OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
G.f.: -10*(7 - 32*x)/(1-x)^2. - Bruno Berselli, Dec 13 2011
a(n) = 2*a(n-1) - a(n-2). - Vincenzo Librandi, Feb 21 2012
E.g.f.: 10*(-7 + 25*x)*exp(x). - G. C. Greubel, Sep 15 2016
MATHEMATICA
LinearRecurrence[{2, -1}, {-70, 180}, 50] (* Vincenzo Librandi, Feb 21 2012 *)
250*Range[0, 50]-70 (* Harvey P. Dale, Apr 09 2020 *)
PROG
(PARI) for(n=0, 50, print1(250*n - 70", ")); \\ Vincenzo Librandi, Feb 21 2012
(Magma) [250*n-70: n in [0..50]]; // Bruno Berselli, Sep 15 2016
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Vincenzo Librandi, Jan 08 2009
EXTENSIONS
Offset changed and Librandi's comment rewritten by Bruno Berselli, Dec 13 2011
STATUS
approved