Three tricks, one idea

Tell me the sum of four dates that form a square on a calendar, and I will tell you the dates. Give me three digits, and I will arrange them for the largest product without trying every possibility. Reverse a two-digit number and subtract, and the answer always divides by nine. Each of these is a small piece of algebra. Here you will see the working behind each one, and learn how to invent your own versions.

Calendar squares

Look at a calendar. If a 2×22 \times 2 block has top-left date aa, then its four dates are aa, a+1a + 1, a+7a + 7, a+8a + 8. Add them and you get 4a+164a + 16.

Example 1. Your friend's block adds up to 5252. Then 4a+16=524a + 16 = 52, so a=9a = 9, and the dates are 9,10,16,179, 10, 16, 17.

A month's dates 1 to 31 in rows of seven with the 2 by 2 block 9, 10, 16, 17 highlighted; the block's dates are a, a + 1, a + 7, a + 8, and 4a + 16 = 52 gives a = 9.
A 2 by 2 calendar block: the dates below are 7 more than those above.

You can play with the shape. A 3×33 \times 3 block with centre cc adds up to 9c9c. A column of three dates with top aa adds up to 3a+213a + 21. An L-shape of three (aa, a+1a + 1, a+8a + 8) adds up to 3a+93a + 9.

Shape grids

In a shape grid, each row shows some shapes and their total. Three circles =24= 24, so one circle is 88. A circle ++ two squares =18= 18, so 2×square=102 \times \text{square} = 10 so square =5= 5. Square ++ triangle ++ circle =20= 20, so triangle =7= 7. Each row is really an equation. Tip: solve the row with only one unknown first, then put that value into the others.

Shape grid: three circles make 24; a circle and two squares make 18; a square, a triangle and a circle make 20. Solved: circle 8, square 5, triangle 7.
The shape grid: solve the row with one kind of shape first.

The largest product

Put the digits 2,4,72, 4, 7 into □□×□\square\square \times \square to get the largest product. There are six arrangements: 24×724 \times 7, 42×742 \times 7, 27×427 \times 4, 72×472 \times 4, 47×247 \times 2, 74×274 \times 2. Group them by the single-digit multiplier. In each pair, the bigger two-digit number obviously wins, which leaves 42×7=29442 \times 7 = 294, 72×4=28872 \times 4 = 288 and 74×2=14874 \times 2 = 148. The winner is 42×742 \times 7.

In general, take digits p<q<rp < q < r. The contest comes down to qp×rqp \times r against rp×qrp \times q (the two that use the biggest digits in the strongest places). Expand them:

qp×r=10qr+pr,rp×q=10rq+pqqp \times r = 10qr + pr, \qquad rp \times q = 10rq + pq

The first terms are the same, and pr>pqpr > pq because r>qr > q. So make the largest digit the multiplier, and write the other two as a two-digit number with the bigger digit first: qp×rqp \times r.

Example 2. Digits 1,3,71, 3, 7: 31×7=21731 \times 7 = 217. Digits 3,5,93, 5, 9: 53×9=47753 \times 9 = 477.

Reversing digits

Pick a two-digit number whose digits are different. Reverse it, then subtract the smaller number from the larger. You will always get a multiple of 99. Why?

Call the tens digit aa and the units digit bb. The number is 10a+b10a + b and its reverse is 10b+a10b + a. If b>ab > a,

(10b+a)−(10a+b)=9b−9a=9(b−a)(10b + a) - (10a + b) = 9b - 9a = 9(b - a)

and if a>ba > b, the difference is 9(a−b)9(a - b). So when you divide by 99, you get the difference between the digits.

What if you add the number and its reverse instead? (10a+b)+(10b+a)=11(a+b)(10a + b) + (10b + a) = 11(a + b), which is always a multiple of 1111, and the quotient is the sum of the digits.

Three digits, cycled. abc+bca+cab=(100a+10b+c)+(100b+10c+a)+(100c+10a+b)=111(a+b+c)=3×37×(a+b+c)abc + bca + cab = (100a + 10b + c) + (100b + 10c + a) + (100c + 10a + b) = 111(a + b + c) = 3 \times 37 \times (a + b + c), so the total divides by 3737 and by 33.

Six digits from three. Writing a three-digit number twice gives abcabc=1001×abc=7×11×13×abcabcabc = 1001 \times abc = 7 \times 11 \times 13 \times abc. Divide by 77, then by 1111, then by 1313, and your original three-digit number pops back out.

Practice

  1. A 2×22 \times 2 calendar block adds up to 7676. Find the dates. Why can no block add up to 7070?
  2. A column of three calendar dates adds up to 4545. Find them. A 3×33 \times 3 block adds up to 153153; find its centre.
  3. Shape grid: triangle ++ triangle ++ circle =26= 26; circle ++ circle =20= 20; triangle ++ square =15= 15. Find the value of each shape.
  4. Put 1,5,81, 5, 8 into □□×□\square\square \times \square for the largest product, and check it against the other five arrangements.
  5. Arrange 2,6,92, 6, 9 for the largest product, and then for the smallest.
  6. Show that reversing a two-digit number and subtracting gives a multiple of 99, with the digit difference as the quotient. Check it with 8383.
  7. Show that a two-digit number plus its reverse is a multiple of 1111. Check it with 4747.
  8. Take 6,1,46, 1, 4. Work out 614+146+461614 + 146 + 461 and check that it divides by 3737 and by 33.
  9. Divide 358358358358 by 77, then by 1111, then by 1313. Explain what you get.
  10. Subtract the reverse cbacba from a three-digit number abcabc (with a>ca > c). Show that the result is divisible by 9999.

Answers

Show answers
  1. 4a+16=764a + 16 = 76, so a=15a = 15 and the dates are 15,16,22,2315, 16, 22, 23. For the second, 4a+16=704a + 16 = 70 gives a=13.5a = 13.5, which is not a whole number.
  2. 3a+21=453a + 21 = 45, so a=8a = 8 and the dates are 8,15,228, 15, 22. The centre is 1717.
  3. Circle 1010; triangle 88; square 77.
  4. 51×8=40851 \times 8 = 408. The others: 15×8=12015 \times 8 = 120, 18×5=9018 \times 5 = 90, 81×5=40581 \times 5 = 405, 58×1=5858 \times 1 = 58, 85×1=8585 \times 1 = 85.
  5. Largest: 62×9=55862 \times 9 = 558. For the smallest you might guess 29×6=17429 \times 6 = 174, but check the rest: 26×9=23426 \times 9 = 234, 69×2=13869 \times 2 = 138, 96×2=19296 \times 2 = 192, 92×6=55292 \times 6 = 552. The smallest is 69×2=13869 \times 2 = 138.
  6. The proof is above. Checking: 83−38=45=9×583 - 38 = 45 = 9 \times 5, and 8−3=58 - 3 = 5 ✓.
  7. The sum is 11(a+b)11(a + b); 47+74=121=11×1147 + 74 = 121 = 11 \times 11 ✓.
  8. 1221=37×33=3×4071221 = 37 \times 33 = 3 \times 407 ✓.
  9. 358358÷7=51194358358 \div 7 = 51194; ÷11=4654\div 11 = 4654; ÷13=358\div 13 = 358. This happens because 358358=358×1001358358 = 358 \times 1001 and 1001=7×11×131001 = 7 \times 11 \times 13.
  10. (100a+10b+c)−(100c+10b+a)=99(a−c)(100a + 10b + c) - (100c + 10b + a) = 99(a - c).