Problem

Source: Cyprus 2022 Junior TST-1 Problem 4

Tags: combinatorics, counting



Consider the digits $1, 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 $2022^{\text{th}}$ position.