OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Tanya Khovanova, Recursive Sequences
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From G. C. Greubel, Sep 18 2019: (Start)
a(n) = 2*a(n-1) - a(n-2).
G.f.: (5 + 6*x)/(1-x)^2.
E.g.f.: (5 + 11*x)*exp(x). (End)
MAPLE
seq(11*n+5, n=0..60); # G. C. Greubel, Sep 18 2019
MATHEMATICA
Range[5, 1000, 11] (* Vladimir Joseph Stephan Orlovsky, May 28 2011 *)
LinearRecurrence[{2, -1}, {5, 16}, 60] (* Harvey P. Dale, Apr 15 2019 *)
PROG
(Magma) [11*n+5: n in [0..60]]; // Vincenzo Librandi, Sep 03 2011
(PARI) a(n)=11*n+5 \\ Charles R Greathouse IV, Jul 10 2016
(Sage) [11*n+5 for n in (0..60)] # G. C. Greubel, Sep 18 2019
(GAP) List([0..60], n-> 11*n+5); # G. C. Greubel, Sep 18 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved