https://medium.com/nice-math-problems/simple-number-theory-in-the-2023-korea-math-olympiad-769344c5a402