OFFSET
0,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,3,0,-3,0,1).
FORMULA
O.g.f.: (3x+6x^2+6x^3-8x^4-x^5+2x^6)/(1-x^2)^3. - Len Smiley, Dec 06 2001
MATHEMATICA
LinearRecurrence[{0, 3, 0, -3, 0, 1}, {0, 3, 6, 15, 10, 35, 14}, 60] (* Harvey P. Dale, Mar 14 2018 *)
PROG
(PARI) a(n) = polcoeff((3*x+6*x^2+6*x^3-8*x^4-x^5+2*x^6)/(1-x^2)^3+x*O(x^n), n) for(n=0, 100, print1(a(n), ", "))
(PARI) { for (n=0, 1000, if(n==0, a=0, if(n%2, a=n*(n + 2), a=2*n+2)); write("b066107.txt", n, " ", a) ) } \\ Harry J. Smith, Nov 15 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
George E. Antoniou, Dec 05 2001
STATUS
approved