|
|
A231179
|
|
Boustrophedon transform of nonnegative integers, cf. A001477.
|
|
8
|
|
|
0, 1, 4, 12, 36, 120, 462, 2058, 10472, 59976, 381770, 2673374, 20422908, 169020852, 1506427678, 14385323610, 146527700944, 1585801332848, 18171944693586, 219803766565366, 2798628476670180, 37414906698747564, 524019526485293894, 7672827408344428242
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
J. Millar, N. J. A. Sloane and N. E. Young, A new operation on sequences: the Boustrophedon transform, J. Combin. Theory, 17A 44-54 1996 (Abstract, pdf, ps).
|
|
FORMULA
|
a(n) = Sum_{k=1..n} k * A109449(n,k).
E.g.f.: x*exp(x)*(sec(x)+tan(x)). (After Sergei N. Gladkovskii in A000660.) - Peter Luschny, Oct 28 2014
|
|
MATHEMATICA
|
a[n_] := n! SeriesCoefficient[x Exp[x] (1+Sin[x]) / Cos[x], {x, 0, n}];
|
|
PROG
|
(Haskell)
a231179 n = sum $ zipWith (*) (a109449_row n) [0..]
(Python)
from itertools import count, islice, accumulate
def A231179_gen(): # generator of terms
blist = tuple()
for i in count(0):
yield (blist := tuple(accumulate(reversed(blist), initial=i)))[-1]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|