OFFSET
1,4
COMMENTS
Let d(n) = a(n) - floor(n/2). Then, d(n) >= 0, and below 1000, d=1 arises 93 times, and d=2 arises 4 times.
The first occurrence of d(k) = 0, 1, 2, ..., is at k = 2, 1 (=A056067(1)), 416 (=A056068(1)), 6950, 16348, 505930, ... . - Amiram Eldar, May 24 2024
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
a[n_] := Module[{k = 1}, NestWhile[#/(++k)^2 &, n!, IntegerQ]; k - 1]; Array[a, 100] (* Amiram Eldar, May 24 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 25 2000
STATUS
approved