OFFSET
1,2
MATHEMATICA
Do[a = LCM @@ Table[i, {i, n}]; k = n + 1; If[ IntegerQ[a/k], While[ IntegerQ[a/k], a = a/k; k++ ]]; Print[a], {n, 1, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Mar 30 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Apr 01 2002
STATUS
approved