Problem

Source: Dutch BxMO/EGMO Team Selection Test 2014 P4

Tags: number theory proposed, number theory



Let $m\ge 3$ and $n$ be positive integers such that $n>m(m-2)$. Find the largest positive integer $d$ such that $d\mid n!$ and $k\nmid d$ for all $k\in\{m,m+1,\ldots,n\}$.