|
|
A127741
|
|
a(n) = (n+1) * A005493(n).
|
|
2
|
|
|
1, 6, 30, 148, 755, 4044, 22841, 136056, 853452, 5625950, 38885297, 281170080, 2122313505, 16688829122, 136457754030, 1158155642512, 10186602918035, 92711977180164, 871936904575985, 8462913158427580, 84668764368102012, 872196382566014506, 9241557859113581689
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (n+1) * A005493(n), where A005493 = row sums of Aitken's triangle: (1, 3, 10, 37, ...); i.e., 1*1, 2*3, 3*10, 4*37, ... Row sums of A127740.
|
|
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]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|