OFFSET
1,3
LINKS
Wikipedia, Table of divisors.
FORMULA
T(n,k) = min { lcm(x_1,...,x_k) ; 0 < x_1 < ... < x_k <= n }
EXAMPLE
Triangle begins:
1
1 2
1 2 6
1 2 4 12
1 2 4 12 60
1 2 4 6 12 60
MAPLE
with(combstruct):
a096179_row := proc(n) local k, L, l, R, LCM, comb;
R := NULL; LCM := ilcm(seq(i, i=[$1..n]));
for k from 1 to n-1 do
L := LCM;
comb := iterstructs(Combination(n), size=k):
while not finished(comb) do
l := nextstruct(comb);
L := min(L, ilcm(op(l)));
od;
R := R, L;
od;
R, LCM end; # Peter Luschny, Dec 06 2010
MATHEMATICA
PROG
(PARI) A096179(n, k)={ my(m=lcm(vector(k, i, i))); forvec(v=vector(k-1, i, [2, n]), m>lcm(v) & m=lcm(v), 2); m } \\ M. F. Hasler, Nov 30 2010
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Matthew Vandermast, Jun 19 2004
STATUS
approved