MathDB
Find number in 2022-th position out of several four-digit numbers

Source: Cyprus 2022 Junior TST-1 Problem 4

February 21, 2022
combinatoricscounting

Problem Statement

Consider the digits 1,2,3,4,5,6,71, 2, 3, 4, 5, 6, 7. (a) Determine the number of seven-digit numbers with distinct digits that can be constructed using the digits above. (b) If we place all of these seven-digit numbers in increasing order, find the seven-digit number which appears in the 2022th2022^{\text{th}} position.