OFFSET
0,2
FORMULA
a(2*n) = (n+1)*3^n; a(2*n+1) = (n+9)*3^(n-1).
O.g.f.: (1+3*x-8*x^3)/(1-3*x^2)^2 = 1 + 3*x + 6*x^2 + 10*x^3 + ....
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Bala, Apr 05 2012
STATUS
approved