Four Digits Practice

Eight cards make 7217

Draw eight cards, then use + − × ÷ to hit a four-digit number. Here is how I do it in my head, and five drills to train it.

Start training

I drew this hand Detail of a young man's hand holding playing cards, from Caravaggio's The Cardsharps 1, 4, 5, 6, 8, 9, 11 and 12, and the target was 7217. Every card Detail of a fanned hand of playing cards, from La Tour's The Cheat with the Ace of Diamonds gets used exactly once.

That is one answer. The same hand has 210 different answers, and you will see every one of them further down.

Two men in hats sit across a small table, each studying the cards in his hand. Painting by Paul Cézanne.
Paul Cézanne, The Card Players, 1890–92. Two players, no table talk, just a hand to work out.

Guess

First, believe it can be done. About 98 hands in 100 have an answer, and most of those have over a hundred. So you are not hunting for one magic path. You are picking one of many.

Next, look at the big cards. A typical answer is one big multiplication, the trunk, with a few small fixes added along the way. The trunk is usually three or four of the five biggest cards.

Here the five biggest are 12, 11, 9, 8 and 6. What does the trunk look like?

  1. 6 × 8 × 9 × 11 = 6 × 8 × 99about 4,800. Far too small, so you need both 11 and 12.
  2. 6 × 9 × 11 × 12 = 72 × 99that is 7,128. Close to 7217. That is the trunk.

Nudge

Now work backwards from the target. You want to divide 7217 by one of the trunk cards. It almost never divides cleanly, so you nudge it by a small number first.

Can 7217 be nudged to divide by 9? There is a trick for 9: a number divides by 9 when its digits add up to a multiple of 9.

  1. 7 + 2 + 1 + 7 = 17one short of 18.
  2. 7217 + 1 = 7218digits add to 18, so 9 goes in.

And you have a 1 in your hand to pay for that nudge. In the final answer it shows up as the − 1 at the end.

Divide

  1. 7218 ÷ 9 = 8027200 ÷ 9 is 800, and 18 ÷ 9 is 2.

You need to be able to do this kind of division in your head. It is not hard. It just takes practice, and there is a drill for it at the bottom of this page.

Look at what happened. The 9 and the 1 are spent, and the problem got smaller. Now you need to make 802 from the six cards that are left.

Repeat

Same move again. Can 802 be nudged to divide by 12? To divide by 12 a number has to divide by 3 and by 4. Add 2 and it works.

  1. 802 + 2 = 804 = 12 × 67so 67 is in reach.
  2. 802 − 10 = 792 = 12 × 66one step down from 67 is 66.
  3. 66 = 6 × 11two cards you still hold.
  4. 10 = 5 × 8 ÷ 4the last three cards pay for the nudge.

That last part can look like luck. It isn't. Most hands have hundreds of answers, so trying the cards as dividers turns one up fast. But which cards, and in what order? I tested that next.

Is this the best way?

I wanted to know, so I made a computer play like a person. It was only allowed what you can do in your head: find a remainder, spot a card, and finish a small number with the last few cards. Then it played 300 eight-card hands with each strategy, and I counted how many tries each one needed.

Divide, don't subtract

3 in 10

hands solved by getting close with a big product and then making up the gap. The gap is usually an awkward number like 89, and the cards you have left can't make it.

98 in 100

hands solved by dividing down with nudges, the way I showed above.

Biggest card first

8%

of hands fall to the first route you try if you pick dividers in any order. Four in ten fall within ten tries.

51%

fall to the first route if you divide by your biggest card, then your next biggest, paying each nudge with one card. Eight in ten fall within ten tries.

Why biggest first

After two dividers you have a few cards left and one number to make with them. Small numbers are easy. Big ones almost never work. Two big dividers, like 12 and 11, shrink a four-digit target to about 50.

Why one card per nudge

Every card you spend on a nudge is a card you don't have at the end. With four cards left, about 1 route in 4 finishes. With three, 1 in 20. With two, 1 in 140.

  1. up to 2079%
  2. 21 to 4067%
  3. 41 to 6052%
  4. 61 to 10038%
  5. 101 to 15025%
  6. 151 to 25012%
  7. 251 to 4006%
  8. over 4002%
How often the last four cards can make the number you are left with, by its size. From about 99,000 routes through the 300 hands.

The method, sharpened

  1. 1

    Divide by your biggest card. Pay the nudge with one card.

  2. 2

    Do it again with the next biggest card.

  3. 3

    Make what's left from the last four cards.

If the last step fails, change the second divider and try again, then the first. And the trunk was the right idea all along: the trunk is just your big dividers multiplied together.

7217, the sharp way

  1. 7217 = 12 × 601 + 57200 is 12 × 600, and 17 is 12 + 5. I hold a 5.
  2. 601 = 11 × 55 − 411 leaves 7, so go up 4 to 605. I hold a 4.
  3. 55 = (6 + 1) × 9 − 8the last four cards: 1, 6, 8 and 9.

So 7217 = 12 × (11 × ((6 + 1) × 9 − 8) − 4) + 5. That was the first route I tried, which happens about half the time.

Five things to get fast at

Soldiers crowd around a table playing cards and dice by candlelight. Painting by Valentin de Boulogne.

Remainders in chunks

Don't divide 7217 by 12 in one go. Peel off easy multiples: 7217 = 7200 + 12 + 5. Each chunk is a multiple of 12 except the 5, so 12 leaves 5. For 13 it's 7217 = 6500 + 650 + 65 + 2, so 13 leaves 2. Drill 1 trains this.

Divisibility tests

For most cards there is a shortcut that tells you at a glance whether a nudge worked.

Quick tests for whether a number divides by 2 through 13
Divides byTestExample
2last digit is even7218
3digits add to a multiple of 3804: 8 + 0 + 4 = 12
4last two digits divide by 4804: 04
5ends in 0 or 57215
6passes the tests for 2 and 37218
8last three digits divide by 87216: 216 = 8 × 27
9digits add to a multiple of 97218: 18
10ends in 07210
11alternate + and − across the digits, get a multiple of 117216: 7 − 2 + 1 − 6 = 0
12passes the tests for 3 and 4804
7 or 13thousands minus the last three digits, since 1001 = 7 × 11 × 137217: 217 − 7 = 210 = 7 × 30

The last four cards

This is the 24 game with a different target. Multiply two cards to get near, then fix it with the other two. Spare cards can disappear: a 1 multiplies in for free, a pair like 7 and 7 becomes × 7 ÷ 7, and two cards in a row, like 9 and 8, become × (9 − 8). Drill 4 trains this.

Check with nines

Before you call an answer, check it. Swap every number for its digit sum and do the same sum. 12 × 601 + 5 becomes 3 × 7 + 5 = 26, and 26 becomes 8. The target 7217 becomes 17, then 8. They match. It doesn't work through division, so skip it when your answer divides.

The double divide

Sometimes the target sits right by a multiple of two cards together. 9 × 8 = 72, and 72 goes into 7200, so 7217 = 72 × 100 + 17. Pay the 17 with 12 + 5, and 100 = (11 − 1) × (6 + 4). With no nudge between the two dividers you keep one more card for the end. In my test, the player that was allowed this move found answers fastest of all.

One hand, 210 ways in

Every line below uses 1, 4, 5, 6, 8, 9, 11 and 12 once each and lands on 7217. Two answers that only swap the order, like a + b × c and c × b + a, count as one. The four I first found by hand are in orange.

A card player slips an ace of diamonds from behind his back while the others at the table look away. Painting by Georges de La Tour.
Georges de La Tour, The Cheat with the Ace of Diamonds, about 1635. You won't need the ace up your sleeve.

    More cards, suddenly always

    0.0percent of hands with 4 cards can hit the target. They reach about 100 different numbers.
    1.8with 5 cards, reaching about 530 numbers.
    18.0with 6 cards, about 2,900 numbers.
    79.0with 7 cards, about 15,000 numbers.
    98.2with 8 cards, about 74,000 numbers. And the typical hand has 176 different answers.

    How I counted: I dealt random hands (400 each for 4 and 5 cards, 300 for 6, 200 for 7, 500 for 8) from a normal deck, ace as 1 up to king as 13, each with a random target from 1000 to 9999. A computer then tried every way to combine the cards, keeping every step a whole number. Each extra card multiplies the numbers you can reach by about five.

    Black and white photograph of tube sponges on the sea floor, their bodies full of openings.
    Sea sponges, photographed for the Touring Club Italiano in 1965.

    Pour water on a sponge and it finds a way through. The holes connect into paths from top to bottom, and there are usually lots of paths, not just one.

    A sponge leaks

    Make the holes sparser and at some point the paths stop connecting. It does not fade out slowly. It flips, fast. Mathematicians call this percolation, and the flip is a phase transition.

    Then it doesn't

    Cards act the same way. With too few cards the paths to your target are rare. Eight cards are past the flip: there is almost always a way through, and when there is one, there are many.

    Eight cards leak

    A young man studies his cards while a cheat behind him signals to his partner. Painting by Caravaggio.
    Caravaggio, The Cardsharps, about 1595. Your turn to sit at the table.

    Five drills, eight cards

    Each drill trains one move of the method on a real eight-card hand. Clear one and move on to the next. Your progress stays in this browser. When they feel easy, the practice page has timed hands, sprints and a daily hand.

    What does the card leave over? Split the target into easy chunks, like 7200 + 12 + 5 for 12. Ten right in a row clears this drill.