OFFSET
0,5
REFERENCES
Amarnath Murthy, Some Notions on Least Common Multiples, Smarandache Notions Journal, Vol. 12, No. 1-2-3, Spring 2001.
EXAMPLE
Triangle begins:
1;
1, 1;
1, 2, 1;
1, 3, 3, 1;
1, 4, 6, 2, 1; ...
MATHEMATICA
t[n_, r_] := LCM @@ Table[n-k+1, {k, 1, r}] / LCM @@ Table[k, {k, 1, r}]; t[_, 0] = 1; Table[t[n, r], {n, 0, 12}, {r, 0, n}] // Flatten (* Jean-François Alcover, Apr 22 2014 *)
PROG
(PARI) t(n, r) = {nt = 1; for (k = n-r+1, n, nt = lcm(nt, k); ); dt = 1; for (k = 1, r, dt = lcm(dt, k); ); return (nt/dt); } \\ Michel Marcus, Sep 14 2013
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Amarnath Murthy, Dec 30 2001
EXTENSIONS
More terms from Vladeta Jovovic, Dec 31 2001
STATUS
approved