Problem

Source: 2025 Korea Winter Program Practice Test P7

Tags: number theory, abstract algebra



There are $2025$ positive integers $a_1, a_2, \cdots, a_{2025}$ are placed around a circle. For any $k = 1, 2, \cdots, 2025$, $a_k \mid a_{k-1} + a_{k+1}$ where indices are considered modulo $n$. Prove that there exists a positive integer $N$ such that satisfies the following condition. (Condition) For any positive integer $n > N$, when $a_1 = n^n$, $a_1, a_2, \cdots, a_{2025}$ are all multiples of $n$.