Problem

Source: 2020 Iberoamerican P2

Tags: number theory, Iberoamerican



Let $T_n$ denotes the least natural such that $$n\mid 1+2+3+\cdots +T_n=\sum_{i=1}^{T_n} i$$Find all naturals $m$ such that $m\ge T_m$. Proposed by Nicolás De la Hoz