MathDB
no of 10-digit numbers wanted, neighbouring digits

Source: 2022 Austrian Regional Competition For Advanced Students p2

October 4, 2022
combinatoricsDigits

Problem Statement

Determine the number of ten-digit positive integers with the following properties: \bullet Each of the digits 0,1,2,...,80, 1, 2, . . . , 8 and 99 is contained exactly once. \bullet Each digit, except 99, has a neighbouring digit that is larger than it. (Note. For example, in the number 12301230, the digits 11 and 33 are the neighbouring digits of 22 while 22 and 00 are the neighbouring digits of 33. The digits 11 and 00 have only one neighbouring digit.)
(Karl Czakler)