OFFSET
0,2
COMMENTS
Let ((1 + k*x)/(1 - k*x))^(m/k) = a(0) + a(1)*x + a(2)*x^2 + ... then n*a(n) = 2*m*a(n-1) + k^2*(n-2)*a(n-2) for n > 1.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
FORMULA
n*a(n) = 6*a(n-1) + 4^2*(n-2)*a(n-2) for n > 1.
a(n) ~ 2^(2*n + 3/4) / (Gamma(3/4) * n^(1/4)). - Vaclav Kotesovec, May 28 2018
MATHEMATICA
CoefficientList[Series[((1+4x)/(1-4x))^(3/4), {x, 0, 30}], x] (* Harvey P. Dale, Oct 24 2020 *)
PROG
(PARI) N=66; x='x+O('x^N); Vec(((1+4*x)/(1-4*x))^(3/4))
(Magma) [n le 2 select 6^(n-1) else 2*(3*Self(n-1) + 8*(n-3)*Self(n-2))/(n-1): n in [1..40]]; // G. C. Greubel, Jun 07 2023
(SageMath)
@CachedFunction
def a(n): # a = A304941
if n<2: return 6^n
else: return 2*(3*a(n-1) + 8*(n-2)*a(n-2))//n
[a(n) for n in range(41)] # G. C. Greubel, Jun 07 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, May 22 2018
STATUS
approved