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.: 26*(70+99*x)/(x-1)^2. - R. J. Mathar, Jan 05 2011
a(n) = 2*a(n-1)-a(n-2).
MATHEMATICA
LinearRecurrence[{2, -1}, {1820, 6214}, 50]
PROG
(Magma) I:=[1820, 6214]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]];
(PARI) a(n)=4394*n+1820 \\ Charles R Greathouse IV, Dec 23 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 15 2009
EXTENSIONS
Offset corrected by R. J. Mathar, Jan 05 2011
STATUS
approved