Problem

Source: Bulgaria JBMO TST 2023, Day 2, Problem 2

Tags: number theory, JBMO TST, greatest common divisor, Divisibility



Determine the smallest positive integer $n\geq 2$ for which there exists a positive integer $m$ such that $mn$ divides $m^{2023} + n^{2023} + n$.