OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..748
EXAMPLE
a(9) = 9!/{1!*2!*4!*5!} = 63 which is not divisible by 7!.
MAPLE
A := proc (n) local x, i; x := n!; for i to n while x = floor(x) do if gcd(i, n) = 1 and `mod`(x, i!) = 0 then x := x/i! fi od; RETURN(x) end # Michael Lugo
PROG
(PARI) a(n)=my(N=n!); for(k=2, n, if(gcd(n, k)>1, next); if(N%k!, return(N), N/=k!)); N \\ Charles R Greathouse IV, Oct 20 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 30 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Oct 06 2003
Edited by Max Alekseyev, Mar 28 2015
STATUS
approved