Problem

Source: Philippine MO 2022/5

Tags: number theory



Find all positive integers $n$ for which there exists a set of exactly $n$ distinct positive integers, none of which exceed $n^2$, whose reciprocals add up to $1$.