OFFSET
1,2
FORMULA
Recurrence: n*a(n) = 2*(2*n-3)*a(n-1) + 4*(n-3)*a(n-2) - 6*(2*n-9)*a(n-3). - Vaclav Kotesovec, Jan 25 2015
G.f.: 1/2 - sqrt(12*x^3-4*x^2-4*x+1)/2. - Vaclav Kotesovec, Jan 25 2015
MATHEMATICA
nmax = 30; aa = ConstantArray[0, nmax]; aa[[1]] = 1; aa[[2]] = 2; aa[[3]] = 1; Do[aa[[n]]=Sum[aa[[k]]*aa[[n-k]], {k, 1, n-1}], {n, 4, nmax}]; aa (* Vaclav Kotesovec, Jan 25 2015 *)
CoefficientList[Series[1/2-Sqrt[12x^3-4x^2-4x+1]/2, {x, 0, 50}], x] (* Harvey P. Dale, Jan 01 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved