OFFSET
0,2
COMMENTS
Partial sums give A051867. - Leo Tavares, Mar 19 2023
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..2000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 2*a(n-1) - a(n-2). - Vincenzo Librandi, Jun 11 2011
From Alejandro J. Becerra Jr., Jun 04 2020: (Start)
G.f.: (1 + 12*x)/(1 - x)^2. (End)
E.g.f.: (1+13*x)*exp(x). - G. C. Greubel, Sep 16 2022
MATHEMATICA
Range[1, 1000, 13]
LinearRecurrence[{2, -1}, {1, 14}, 60] (* Harvey P. Dale, Apr 05 2014 *)
PROG
(Magma) [13*n + 1: n in [0..60]]; // Vincenzo Librandi, Jun 11 2011
(PARI) a(n)=13*n+1 \\ Charles R Greathouse IV, Jun 04 2020
(SageMath) [13*n+1 for n in (0..60)] # G. C. Greubel, Sep 16 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 29 2011
STATUS
approved