Problem

Source: Olimphíada 2024 - Problem 1

Tags: number theory, least common multiple, factorial



Find all pairs of positive integers $(m,n)$ such that $$lcm(1,2,\dots,n)=m!$$where $lcm(1,2,\dots,n)$ is the smallest positive integer multiple of all $1,2,\dots n-1$ and $n$.