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!)
A337443 E.g.f.: (1 + x) * exp(x) / (sec(x) + tan(x)). 0
1, 1, 0, -1, -4, -5, -20, 9, -208, 855, -6180, 41549, -321792, 2651155, -23664420, 225865769, -2301032256, 24901626095, -285356879940, 3451591584869, -43947119045600, 587529302036875, -8228722825167940, 120487046847246049, -1840906518665985824 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Inverse boustrophedon transform of positive natural numbers.
LINKS
FORMULA
a(n) = Sum_{k=0..n} (-1)^(n-k) * binomial(n,k) * (k+1) * A000111(n-k).
MATHEMATICA
nmax = 24; CoefficientList[Series[(1 + x) Exp[x]/(Sec[x] + Tan[x]), {x, 0, nmax}], x] Range[0, nmax]!
t[n_, 0] := n + 1; t[n_, k_] := t[n, k] = t[n, k - 1] - t[n - 1, n - k]; a[n_] := t[n, n]; Table[a[n], {n, 0, 24}]
PROG
(Python)
from itertools import count, islice, accumulate
from operator import sub
def A337443_gen(): # generator of terms
blist = tuple()
for i in count(1):
yield (blist := tuple(accumulate(reversed(blist), func=sub, initial=i)))[-1]
A337443_list = list(islice(A337443_gen(), 30)) # Chai Wah Wu, Jun 11 2022
CROSSREFS
Sequence in context: A041255 A042835 A193964 * A099897 A050251 A125995
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Aug 27 2020
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 May 16 00:16 EDT 2024. Contains 372549 sequences. (Running on oeis4.)