MathDB
TOT 2004 Spring - Senior O-Level p5 neighbours 10-digit integers

Source:

February 25, 2020
number theoryDigitsDigit

Problem Statement

Two 1010-digit integers are called neighbours if they differ in exactly one digit (for example, integers 12345678901234567890 and 12345078901234507890 are neighbours). Find the maximal number of elements in the set of 1010-digit integers with no two integers being neighbours.