OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..150
MAPLE
with(combstruct):
a181849 := proc(n) local k, L, l, comp;
L := 1-signum(n);
for k from 1 to n do
comp := iterstructs(Composition(n), size=k):
while not finished(comp) do
l := nextstruct(comp);
L := L + ilcm(op(l));
od;
od;
L end:
seq(a181849(n), n=0..15);
MATHEMATICA
c[n_, k_] := Permutations /@ IntegerPartitions[n, {k}] // Flatten[#, 1]&; t[n_, k_] := Total[LCM @@@ c[n, k]]; Table[Print[s = Sum[t[n, k], {k, 1, n}]]; s, {n, 1, 25}] (* Jean-François Alcover, Feb 05 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Dec 07 2010
EXTENSIONS
a(23)-a(25) from Alois P. Heinz, Jul 29 2013
a(0), a(26)-a(32) from Alois P. Heinz, Jun 18 2024
STATUS
approved