MathDB
2003 National Spain Olympiad, Problem 1

Source: 2003 National Spain Olympiad

June 1, 2017
number theoryprime numbers

Problem Statement

Prove that for any prime p{p}, different than 2{2} and 5{5}, there exists such a multiple of p{p} whose digits are all nines. For example, if p=13{p = 13}, such a multiple is 999999=13āˆ—76923{999999 = 13 * 76923}.