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!)
A352377 Expansion of e.g.f. exp(1 - cos(x) + sin(x)). 2
1, 1, 2, 3, 5, 2, -17, -105, -302, -323, 2735, 21318, 74513, 5345, -1876118, -13036317, -35542499, 183591298, 2771934527, 14515620855, -4104116566, -739297426531, -6244977674825, -14587702161978, 240078040966369, 3207383844181633, 14652985540658834, -87474514259307453, -2013684557381588299 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (-1)^floor((k-1)/2) * binomial(n-1,k-1) * a(n-k).
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(exp(1-cos(x)+sin(x))))
(PARI) a(n) = if(n==0, 1, sum(k=1, n, (-1)^((k-1)\2)*binomial(n-1, k-1)*a(n-k)));
CROSSREFS
Sequence in context: A113195 A069110 A238684 * A202694 A123221 A197032
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 14 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 August 18 23:41 EDT 2024. Contains 375284 sequences. (Running on oeis4.)