Reasoning · Grade 4-1 Making Many Kinds of Numbers

Problem

Find the nth largest card number

Four cards show 3, 5, 6 and 4. Use all four cards once each to build a four-digit number. Keep only the numbers between 4500 and 5450. Find every such number.
Your answer
How to solve
Strategy Make a Systematic List — There are 24 rearrangements of four cards, which is too many to write out safely by hand. Instead I decide the thousands digit first, because that digit alone already fixes which numbers can possibly fall in the range, and most choices die immediately. That leaves two small subproblems — numbers starting with 4 and numbers starting with 5 — and inside each one the hundreds digit narrows things again, so only a handful of numbers ever need to be written out and checked.
1STEP 1

Decide the thousands digit first

Leading 3 or 6 falls outside, leaving only 4 and 5.

3654 < 4500 and 6345 > 5450
2STEP 2

Case 1: the number starts with 4

Leading 4 gives 4536, 4563, 4635, 4653.

4536, 4563, 4635, 4653
3STEP 3

Case 2: the number starts with 5

Leading 5 must stay under 5450: 5346, 5364, 5436.

5436 < 5450 < 5463
4STEP 4

Collect the whole list in order

All together that is 7 numbers.

4 + 3 = 7
Answer
4536, 4563, 4635, 4653, 5346, 5364, 5436
4 + 3 = 7
Every number listed uses each of the cards 3, 4, 5 and 6 exactly once, and every one lies between 4500 and 5450: the smallest is 4536 and the largest is 5436. The count is believable too — the four cards make 24 arrangements altogether, spanning 3456 up to 6543, and the allowed window is only about 950 wide inside that span of nearly 3100, so a handful of numbers is exactly what to expect. The near-misses 4365 (too small) and 5463 (too big) sit just outside the boundaries, which shows the boundaries really were tested.
Takeaway

Decide the biggest place first — once you know the number starts with 4 or 5, only a few arrangements are left to check!

  • Decide the thousands digit first
  • Case 1: the number starts with 4
  • Case 2: the number starts with 5
  • Collect the whole list in order