OFFSET
0,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..400
Peter Luschny, An old operation on sequences: the Seidel transform
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).
Wikipedia, Boustrophedon transform
FORMULA
E.g.f.: (sec(x) + tan(x)) * Sum_{k>=0} prime(k+2)*x^k/k!. - Ilya Gutkovskiy, Jun 26 2018
MATHEMATICA
t[n_, 0] := Prime[n+2]; t[n_, k_] := t[n, k] = t[n, k-1] + t[n-1, n-k]; a[n_] := t[n, n]; Array[a, 30, 0] (* Jean-François Alcover, Feb 12 2016 *)
PROG
(Haskell)
a230953 n = sum $ zipWith (*) (a109449_row n) $ tail a000040_list
(Python)
from itertools import accumulate, count, islice
from sympy import prime
def A230953_gen(): # generator of terms
blist = tuple()
for i in count(2):
yield (blist := tuple(accumulate(reversed(blist), initial=prime(i))))[-1]
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 03 2013
STATUS
approved