OFFSET
1,2
COMMENTS
Smallest number such that n!*a(n) is a square.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..3386 (next term has 1001 digits)
Kevin A. Broughan, Asymptotic Order of the Square-free Part of N!, Integers, 2 (2002), Article A.10.
Rafael Jakimczuk, On the h-th free part of the factorial, International Mathematical Forum, Vol. 12, No. 13 (2017), pp. 629-634.
FORMULA
log a(n) ~ n log 2. - Charles R Greathouse IV, Apr 03 2012
sqrt(n!) = A055772(n) * sqrt(a(n)). - Alonso del Arte, Feb 16 2015
EXAMPLE
10! = 518400*7 = 7*(720)^2, so a(10) = 7.
MATHEMATICA
Table[#/Last@ Select[Divisors@ #, IntegerQ@ Sqrt@ # &] &[n!], {n, 26}] (* Michael De Vlieger, May 02 2016 *)
f[p_, e_] := p^Mod[e, 2]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n!]; Array[a, 40] (* Amiram Eldar, Sep 01 2024 *)
PROG
(PARI) a(n)=core(n!) \\ Charles R Greathouse IV, Apr 03 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 19 2000
STATUS
approved