MathDB
no of excellent tickets - All-Russian MO 1996 Regional (R4) 8.2

Source:

September 23, 2024
number theoryDigits

Problem Statement

Let's call a ticket with a number from 000000000000 to 999999999999 excellent if the difference between some two adjacent digits is 55. Find the number of excellent tickets.