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
G.f.: 4*x*(-1-2*x+x^2) / ( (x-1)^3*(1+x)^3 ). - Len Smiley, Dec 06 2001
a(n) = 4*A129889(n+1). - R. J. Mathar, Oct 31 2015
MATHEMATICA
Flatten[Table[{(2n)(2n+2), 4n+4}, {n, 0, 30}]] (* Harvey P. Dale, May 14 2011 *)
PROG
(PARI) { for (n=0, 1000, if(n%2, a=2*n + 2, a=n*(n + 2)); write("b066106.txt", n, " ", a) ) } \\ Harry J. Smith, Nov 15 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
George E. Antoniou, Dec 05 2001
STATUS
approved