/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/importFormalConjecturesUtil
Let $f(n) = \min_{1 < k \le n/2} \gcd(n, \binom{n}{k})$ and let $P(n)$ be the largest prime
dividing $n$.
(a) Characterise those composite $n$ such that $f(n) = n/P(n)$.
Erdős–Szekeres [ErSz78] note that $f(n) = n/P(n)$ when $n$ is a product of two primes
(erdos_700.variants.prime_mul), with $n = 30$ a further example. The characterisation itself is
open; we state it as the (unknown) predicate that is equivalent to being such an n.
Let $f(n) = \min_{1 < k \le n/2} \gcd(n, \binom{n}{k})$.
(b) Are there infinitely many composite $n$ such that $f(n) > n^{1/2}$?
Erdős–Szekeres [ErSz78] could not prove this. (Since $f(n) \ge p(n)$, the least prime factor of
$n$, there are infinitely many $n$ — those of the form $p^2$ — with $f(n) \ge n^{1/2}$; the
question asks for the strict inequality.) Here $f(n) > n^{1/2}$ is written as (f n) ^ 2 > n.
Let $f(n) = \min_{1 < k \le n/2} \gcd(n, \binom{n}{k})$.
(c) Is it true that, for every composite $n$, $f(n) \ll_A n/(\log n)^A$ for every $A > 0$?
Erdős–Szekeres [ErSz78] prove the weaker bound $f(n) \le (1 + o(1)) n/\log n$ (the case $A = 1$).
Here $f(n) \ll_A n/(\log n)^A$ is spelled out as: for every A > 0 there is a constant C
(depending on A) with f(n) ≤ C · n/(log n)^A for every composite n.
f(p^a) = p for a prime p and a ≥ 2 (recorded by Erdős–Szekeres [ErSz78]). In particular,
since (p^a) / P(p^a) = p^{a-1}, the prime power p^a is a "hit" (f(n) = n / P(n)) if and only
if a = 2.