Problem

Source: MEMO 2017 I4

Tags: number theory, modular arithmetic



Determine the smallest possible value of $$|2^m - 181^n|,$$where $m$ and $n$ are positive integers.