OFFSET
0,2
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..250
FORMULA
EXAMPLE
a(n) = sum of terms in n-th row of A127740. a(2) = 30 = (6 + 9 + 15).
PROG
(Python)
# requires Python 3.2 or higher. Otherwise use def'n of accumulate in Python docs.
from itertools import accumulate
A127741_list, blist, b = [], [1], 1
for n in range(1, 1001):
....blist = list(accumulate([b]+blist))
....b = blist[-1]
....A127741_list.append(blist[-2]*n) # Chai Wah Wu, Sep 20 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jan 27 2007
EXTENSIONS
Edited by Jon E. Schoenfield, May 27 2019
STATUS
approved