The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A168598 G.f.: exp( Sum_{n>=1} A002426(n)^2*x^n/n ), where A002426(n) is the central trinomial coefficients. 3

%I #8 Mar 16 2021 08:28:14

%S 1,1,5,21,119,703,4515,30227,210274,1503930,11008198,82099262,

%T 622013122,4775754930,37089503826,290914775618,2301706690657,

%U 18351027768401,147308337621061,1189704370416949,9661185599013209,78844977025403657

%N G.f.: exp( Sum_{n>=1} A002426(n)^2*x^n/n ), where A002426(n) is the central trinomial coefficients.

%C Compare to: exp( Sum_{n>=1} A002426(n)*x^n/n ) = g.f. of the Motzkin numbers (A001006).

%H G. C. Greubel, <a href="/A168598/b168598.txt">Table of n, a(n) for n = 0..250</a>

%e G.f.: A(x) = 1 + x + 5*x^2 + 21*x^3 + 119*x^4 + 703*x^5 +...

%e log(A(x)) = x + 9*x^2/2 + 49*x^3/3 + 361*x^4/4 + 2601*x^5/5 + 19881*x^6/6 +...+ A002426(n)^2*x^n/n +...

%t A002426[n_]:= GegenbauerC[n, -n, -1/2];

%t With[{m=30}, CoefficientList[Series[Exp[Sum[A002426[j]^2*x^j/j, {j, m+2}]], {x, 0, m}], x]] (* _G. C. Greubel_, Mar 16 2021 *)

%o (PARI) {a(n)=if(n==0,1,polcoeff(exp(sum(m=1,n,polcoeff((1+x+x^2)^m,m)^2*x^m/m)+x*O(x^n)),n))}

%o (Magma)

%o m:=30;

%o A002426:= func< n | (&+[ Binomial(n, k)*Binomial(k, n-k): k in [0..n]]) >;

%o R<x>:=PowerSeriesRing(Rationals(), m);

%o Coefficients(R!( Exp( (&+[A002426(j)^2*x^j/j: j in [1..m+2]]) ) )); // _G. C. Greubel_, Mar 16 2021

%o (Sage)

%o m=30

%o def A002426(n): return sum( binomial(n, k)*binomial(k, n-k) for k in (0..n) )

%o def A168598_list(prec):

%o P.<x> = PowerSeriesRing(QQ, prec)

%o return P( exp( sum( A002426(j)^2*x^j/j for j in [1..m+2])) ).list()

%o A168598_list(m) # _G. C. Greubel_, Mar 16 2021

%Y Cf. A001006, A002426, A168597, A168599.

%K nonn

%O 0,3

%A _Paul D. Hanna_, Dec 01 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 19:11 EDT 2024. Contains 372522 sequences. (Running on oeis4.)