🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2014 Math Kangaroo

Problem 28

Problem 28 · 2014 Math Kangaroo Stretch
Counting & Probability careful-countingplace-value

Consider all 7-digit numbers that use each of the digits 1 to 7 exactly once. Write these numbers in increasing order and split the list exactly in the middle into two lists of equal size. What is the last number of the first list?

Show answer
Answer: E — 4376521
Show hints
Hint 1 of 2
There are 7! such numbers in order; the split point is right in the middle.
Still stuck? Show hint 2 →
Hint 2 of 2
Find the 2520th smallest arrangement of the digits 1–7.
Show solution
Approach: locate the middle permutation by digit blocks
  1. There are 7! = 5040 numbers, so the first list ends at the 2520th smallest.
  2. Counting in blocks (each leading digit gives 6! = 720 numbers): 2520 = 3·720 + 360, landing among the numbers starting with 4, then resolving the rest.
  3. The 2520th number is 4376521.
Mark: · log in to save