Problem

Source: Baltic Way 1998

Tags: modular arithmetic, induction, number theory proposed, number theory



Let $a$ be an odd digit and $b$ an even digit. Prove that for every positive integer $n$ there exists a positive integer, divisible by $2^n$, whose decimal representation contains no digits other than $a$ and $b$.