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!)
A352145 Expansion of e.g.f. exp(-1 + cos(x) + sin(x)). 1
1, 1, 0, -3, -5, 12, 71, 7, -1028, -2573, 14793, 100188, -128831, -3445791, -5741800, 113954461, 601512787, -3296210612, -41316895641, 37322755431, 2570678600548, 6983413204755, -149303353515823, -1080122148248420, 7405149869523649, 119115584584019713 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (-1)^floor(k/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\2)*binomial(n-1, k-1)*a(n-k)));
CROSSREFS
Sequence in context: A307146 A293599 A156436 * A276735 A099791 A301901
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 15 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 29 23:34 EDT 2024. Contains 375520 sequences. (Running on oeis4.)