OFFSET
0,3
COMMENTS
If n > 4 then a(n) = n! for composite n and n * n! for prime n. - David A. Corneth, Aug 04 2015
LINKS
Robert Israel, Table of n, a(n) for n = 0..411
FORMULA
a(n) = n! * A014973(n) for n >= 1. - Johannes W. Meijer, Jun 04 2016
MAPLE
A181857 := n -> ilcm(n^2, n!);
MATHEMATICA
Table[LCM[n^2, n!], {n, 0, 17}] (* Michael De Vlieger, Aug 04 2015 *)
PROG
(PARI) a(n)=lcm(n!, n^2) \\ Charles R Greathouse IV, Feb 01 2013
(Magma) [Lcm(n^2, Factorial(n)): n in [0..30]]; // Vincenzo Librandi, Aug 07 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Nov 21 2010
STATUS
approved