OFFSET
0,3
COMMENTS
Inverse boustrophedon transform of A001147.
FORMULA
a(n) ~ (1 - sin(1/2)) * 2^(n + 1/2) * n^n / (cos(1/2) * exp(n)). - Vaclav Kotesovec, Aug 23 2021
MATHEMATICA
nmax = 20; CoefficientList[Series[(Sec[x] - Tan[x])/Sqrt[1 - 2 x], {x, 0, nmax}], x] Range[0, nmax]!
t[n_, 0] := (2 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, 20}]
PROG
(Python)
from itertools import count, islice, accumulate
from operator import sub
def A308681_gen(): # generator of terms
blist, m = tuple(), 1
for i in count(1):
yield (blist := tuple(accumulate(reversed(blist), func=sub, initial=m)))[-1]
m *= (2*i-1)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 15 2021
STATUS
approved