OFFSET
0,3
MAPLE
b:= proc(n) option remember; `if`(n=0, {1},
map(x-> [x, x*n][], b(n-1)))
end:
a:= n-> add(i, i=b(n)):
seq(a(n), n=0..20); # Alois P. Heinz, Aug 01 2022
MATHEMATICA
row[n_] := Times @@@ Subsets[Range[n]] // Flatten // Union; a[n_] := Total[row[n]]; Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 1, 19}] (* Jean-François Alcover, Feb 02 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, May 16 2002
EXTENSIONS
Corrected and extended by Lior Manor May 26 2002
a(0)=1 prepended by Alois P. Heinz, Aug 01 2022
STATUS
approved