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!)
A307595 Expansion of e.g.f. (sec(x) + tan(x))*exp(x/(1 - x)). 0
1, 2, 6, 27, 156, 1097, 9054, 85603, 910840, 10760273, 139634314, 1973272939, 30150497652, 495099175625, 8692428215982, 162444828319579, 3218819701723504, 67394536781529505, 1486511667262146322, 34446575597797488843, 836556499627929889964, 21244918075422301609817 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Boustrophedon transform of A000262.
LINKS
MATHEMATICA
nmax = 21; CoefficientList[Series[(Sec[x] + Tan[x]) Exp[x/(1 - x)], {x, 0, nmax}], x] Range[0, nmax]!
t[n_, 0] := If[n < 1, 1, n! Sum[Binomial[n - 1, j]/(j + 1)!, {j, 0, n - 1}]]; t[n_, k_] := t[n, k] = t[n, k - 1] + t[n - 1, n - k]; a[n_] := t[n, n]; Array[a, 22, 0]
PROG
(Python)
from itertools import count, islice, accumulate
from sympy import hyper, hyperexpand
def A307595_gen(): # generator of terms
blist = tuple()
for i in count(0):
yield (blist := tuple(accumulate(reversed(blist), initial=hyperexpand(hyper((1-i, -i), [], 1)))))[-1]
A307595_list = list(islice(A307595_gen(), 20)) # Chai Wah Wu, Jun 11 2022
CROSSREFS
Sequence in context: A363456 A118192 A338180 * A058133 A306857 A321584
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 17 2019
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 23 16:28 EDT 2024. Contains 371916 sequences. (Running on oeis4.)