MathDB
Decimal representation of n^2 has only odd digits

Source: Baltic Way 2010

November 19, 2010
modular arithmeticnumber theory proposednumber theory

Problem Statement

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