Problem

Source: 2020 Kazakhstan MO grades XI P1

Tags: number theory, divides



Find all pairs $ (m, n) $ of natural numbers such that $ n ^ 4 \ | \ 2m ^ 5 - 1 $ and $ m ^ 4 \ | \ 2n ^ 5 + 1 $.