Problem

Source: APMO 2014 Problem 3

Tags: Divisibility, Quadratic Residues, Hensel, Surjective



Find all positive integers $n$ such that for any integer $k$ there exists an integer $a$ for which $a^3+a-k$ is divisible by $n$. Warut Suksompong, Thailand