OFFSET
0,1
COMMENTS
LINKS
FORMULA
G.f.: (3661529 + 7523281*x)/(1 - x)^2.
a(n) = 2*a(n-1) - a(n-2) for n>1.
EXAMPLE
a(1) = 3661529 + 11184810*1 = 14846339.
MAPLE
MATHEMATICA
CoefficientList[Series[(3661529 + 7523281 x)/(1 - x)^2, {x, 0, 26}], x] (* Michael De Vlieger, Mar 29 2016 *)
LinearRecurrence[{2, -1}, {3661529, 14846339}, 30] (* Harvey P. Dale, Sep 10 2019 *)
PROG
(PARI) a(n) = 3661529 + 11184810*n;
(PARI) x='x+O('x^99); Vec((3661529+7523281*x)/(1-x)^2)
(Python) for n in range(0, 100):print(3661529+11184810*n) # Soumil Mandal, Apr 03 2016
(Magma) [3661529 + 11184810*n : n in [0..40]]; // Wesley Ivan Hurt, Apr 02 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Mar 29 2016
STATUS
approved