OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..250
MAPLE
f:= l-> sort([seq(sort(l, `>`)[i]*i, i=1..nops(l))]):
a:= n-> add(i, i=(f@@n)([1$n])):
seq(a(n), n=0..35);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Aug 21 2015
STATUS
approved