OFFSET
1,2
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = n!/A248770(n).
EXAMPLE
a(8) = 630 because 630 divides 8! and if k > 630 divides 8!, then h^6 divides 8!/k for some h > 1.
MATHEMATICA
z = 50; f[n_] := f[n] = FactorInteger[n!]; r[m_, x_] := r[m, x] = m*Floor[x/m];
u[n_] := Table[f[n][[i, 1]], {i, 1, Length[f[n]]}];
v[n_] := Table[f[n][[i, 2]], {i, 1, Length[f[n]]}];
p[m_, n_] := p[m, n] = Product[u[n][[i]]^r[m, v[n]][[i]], {i, 1, Length[f[n]]}];
m = 6; Table[p[m, n], {n, 1, z}] (* A248770 *)
Table[p[m, n]^(1/m), {n, 1, z}] (* A248771 *)
Table[n!/p[m, n], {n, 1, z}] (* A248772 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 14 2014
STATUS
approved