OFFSET
0,2
COMMENTS
The sequence is designed to be factorial like in even/ odd 2*n and 2*n-1.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
a(n) = 2*(a(n-1)+(n-1)*(2n-3)*a(n-2)). - R. J. Mathar, Jan 28 2012
E.g.f.: (1+2*x)^(1/4)/(1-2*x)^(3/4). - Vaclav Kotesovec, Oct 21 2012
a(n) ~ n!*2^(n+1/4)/(Gamma(3/4)*n^(1/4)). - Vaclav Kotesovec, Oct 21 2012
EXAMPLE
The parity of 2/1 = 2 is even, so a(2) = (2*2-1)*2 = 6. The parity of 6/2=3 is odd, so a(3) = (2*3)*6 = 36.
MATHEMATICA
w[ -1] := 1; w[0] := 1;
w[n_] := w[n] = If[Mod[ w[n - 1]/w[n - 2], 2] == 0,
(2* n - 1)*w[n - 1], If[Mod[w[n - 1]/w[n - 2], 2] == 1, 2*n*w[n - 1], 0]] Table[w[n], {n, 0, 20}]
CoefficientList[Series[(1+2*x)^(1/4)/(1-2*x)^(3/4), {x, 0, 20}], x] *Range[0, 20]! (* Vaclav Kotesovec, Oct 21 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, May 07 2010
STATUS
approved
