MathDB
7-digits numbers with digits 1, 3, 4, 6, 7, 8,9 each once

Source: 2020 Austrian Regional Competition For Advanced Students p2

November 22, 2020
Digitsnumber theory

Problem Statement

The set MM consists of all 77-digit positive integer numbers that contain (in decimal notation) each of the digits 1,3,4,6,7,81, 3, 4, 6, 7, 8 and 99 exactly once. (a) Find the smallest positive difference dd of two numbers from MM. (b) How many pairs (x,y)(x, y) with xx and yy from M are there for which xāˆ’y=dx - y = d?
(Gerhard Kirchner)