Problem

Source: USA Winter Team Selection Test #1 for IMO 2018, Problem 1

Tags: number theory, relatively prime, TST, Arithmetic Functions



Let $n \ge 2$ be a positive integer, and let $\sigma(n)$ denote the sum of the positive divisors of $n$. Prove that the $n^{\text{th}}$ smallest positive integer relatively prime to $n$ is at least $\sigma(n)$, and determine for which $n$ equality holds. Proposed by Ashwin Sah