OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (10,-32,38,-15).
FORMULA
G.f.: 2*(1-2*x-23*x^2+56*x^3)/((1-5*x)*(1-3*x)*(1-x)^2). - Vincenzo Librandi, Feb 26 2013
MATHEMATICA
CoefficientList[Series[2 (1 - 2 x - 23 x^2 + 56 x^3)/((1-5 x) (1 - 3 x) (1 - x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 26 2013 *)
Table[8 n + 3^n + 5^n, {n, 0, 25}] (* Bruno Berselli, Feb 27 2013 *)
PROG
(PARI) for(n=0, 25, print1(8*n+3^n+5^n", ")); \\ Bruno Berselli, Feb 27 2013
(Magma) [8*n+3^n+5^n: n in [0..25]]; // Bruno Berselli, Feb 27 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 19 2006
EXTENSIONS
Edited by Ray Chandler, Sep 06 2006
STATUS
approved