While investigating an integer sequence, I came across the following two OEIS entries:
- A094331: Least k such that n! < (n+1)(n+2)(n+3)...(n+k).
- A075357: a(n) = smallest k such that (n+1)(n+2)...(n+k) is just >= n!.
The generating rule for both of these sequences is basically identical, except A094331 uses $\lt$ and A075357 uses $\le$. This made me curious whether both sequences are actually identical (and I'm not the first; David Wasserman commented the same thing when he was adding more terms to A075357.) For the purposes of the OEIS, the sequences are technically different, because A094331(1) = 1 and A075357(1) = 0 (i.e. for $n=1$ and $k=0$, $\frac{(n+k)!}{n!} = n!$.)
In approaching this problem, I first tried computational brute forcing. For values of $n$ from 2 to 1000000, $n \ne k$. However, this approach is obviously limited. Since my ability in number theory is very weak, I was wondering if anyone with a greater knowledge of number theory may be able provide a definitive answer to this question.
By a theorem of Chebyshev, there exists for any integer $n > 1$ a prime $p$ with $n < p < 2n$. Hence $(2n)!$ and $(2n+1)$! are not perfect squares, since they're divisible by $p$ but not $p^2$. It follows that $(n+k)!/n! \not = n!$ for any integers $n, k > 0$.