Problem

Source: Baltic Way 2010

Tags: modular arithmetic, number theory proposed, number theory



Find all positive integers $n$ such that the decimal representation of $n^2$ consists of odd digits only.