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!)
A352643 Expansion of e.g.f. exp(3 * x * cos(x)). 3
1, 3, 9, 18, -27, -552, -3051, -3504, 102825, 1043712, 3192129, -41548416, -653192883, -3033406464, 31367500173, 670266381312, 3916411302609, -40460110970880, -1038593550985479, -6810646726410240, 82445831323038261, 2280185182260854784, 15300402721484153733 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0) = 1; a(n) = 3 * Sum_{k=0..floor((n-1)/2)} (-1)^k * (2*k+1) * binomial(n-1,2*k) * a(n-2*k-1).
MATHEMATICA
With[{m = 22}, Range[0, m]! * CoefficientList[Series[Exp[3*x*Cos[x]], {x, 0, m}], x]] (* Amiram Eldar, Mar 26 2022 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(exp(3*x*cos(x))))
(PARI) a(n) = if(n==0, 1, 3*sum(k=0, (n-1)\2, (-1)^k*(2*k+1)*binomial(n-1, 2*k)*a(n-2*k-1)));
CROSSREFS
Sequence in context: A103312 A325729 A159794 * A100967 A193567 A045943
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 25 2022
STATUS
approved

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 April 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)