Problem

Source: Baltic Way 1999

Tags: modular arithmetic, number theory proposed, number theory



Find the smallest positive integer $k$ which is representable in the form $k=19^n-5^m$ for some positive integers $m$ and $n$.