Skip to content
CodersTimme offers expert programming advice, coding tutori…

Did You Figure Out It? These Problems All About the Number 11

Previously, you were given a trio of puzzles involving the number 11. Here they are, presented once more along with their explanations.

1. Funny Formation

Imagine you are the coach of a football team. The players have shirt numbers from 1 to 11, with the goalkeeper using number 1. The challenge is to organize the other ten outfield players into three units: defenders, midfielders, and forwards.

The puzzle is: Is it possible to arrange the team so that the total of the shirt numbers in each group is divisible by 11?

Give one arrangement, or demonstrate it isn’t possible.

Answer

This arrangement is impossible.

The total sum of all numbers from 1 to 11 is 66. Therefore, the combined total for the ten field players is 66 - 1 = 65.

Should the totals for the defenders, midfielders, and forwards were all multiples of 11, then their total together must also be a multiple of 11. But, we know this is false, since 65 is not divisible by 11.

2. Palindromic Products

As we learn our multiplication tables, the 11-times table feels delightfully simple.

11 × 1 = 11
11 × 2 = 22
11 × 3 = 33
…
11 × 9 = 99

All these results are palindromes (numbers that are identical backwards and forwards).

Carrying on up to 11 × 99, how many additional products are palindromes?

Solution

There are an additional nine.

Think about how multiplying by 11 works. When a two-digit number has digits a and b, the result with 11 is created by writing the first digit, then their sum, then the second digit—provided no regrouping is needed.

As an illustration, 11 × 52 = 572, since the middle digit is simply 5 + 2 = 7.

i) Matching Digits (four cases)

If the two digits are the same, as in 11, 22, 33, or 44, then multiplying by 11 produces 121, 242, 363, and 484—all palindromes.

This works only as long as the sum in the middle stays below 10, restricting us to these four cases.

ii) “Staircase” Numbers (four cases)

Look at numbers where the last digit is one larger than the first. Here, the first and last digits of the product are the same, again giving palindromes.

  • 11 × 56 = 616
  • 11 × 67 = 737
  • 11 × 78 = 858
  • 11 × 89 = 979

iii) The Final Case (single case)

Go a little higher, the product is a four-digit number. The leading digit will be a 1, so the sole chance for a palindrome is when the last digit is also 1. Let's test 91 shows it succeeds! 11 × 91 = 1001.

3. The Divisibility Challenge

Less well known as other divisibility rules, there is a simple method to check for divisibility by 11.

Take the digits of a number and add them alternately with plus and minus signs (starting with a plus). Should the total is a multiple of 11 (including 0), then the original number is divisible by 11.

As an example, for 132 we calculate +1 - 3 + 2 = 0, so 132 is divisible by 11.

Employing each of the digits 0–9 only once, construct the largest possible 10-digit number that is a multiple of 11.

Solution

The number is 9876524130.

The largest 10-digit number using the digits 0–9 once each is 9876543210.

Applying the divisibility test for 11, we compare the sum of digits in odd places with the sum in even places. For this number:

  • Digits in odd places: 9, 7, 5, 3, 1 total 25.
  • Digits in even places: 8, 6, 4, 2, 0 sum to 20.

Their difference is 5, which is not a multiple of 11.

Since the total sum digits 0–9 is 45, the two sums must always add to 45, so their difference can never be 0. The closest multiple of 11 we can aim for is therefore 11.

To keep the number as high as possible, we try to keep the largest starting digits. Suppose the number began 987654…

These initial digits contribute a difference of (9+7+5) - (8+6+4) = 3. The other digits 3,2,1,0 must contribute 8, but in the best arrangement they can only contribute (3+1) - (2+0) = 2. So no number starting 987654… can work.

Now try keeping the prefix 98765…

This start give a difference of (9+7+5) - (8+6) = 7. The remaining digits 4,3,2,1,0 must provide precisely 4.

To make as large as possible the difference, place the largest remaining digits, 4 and 3, into odd positions, and 2,1,0 into even positions. This yields (4+3) - (2+1+0) = 4, precisely the required amount.

Ordered to maintain the number as large as possible, this gives us 9876524130.

A quick check confirms: the odd-position sum is 28, the even-position sum is 17, and 28 - 17 = 11, so the number is indeed a multiple of 11.

We hope you had fun with these challenges. Further problems are on the way in the future.

The writer

Michelle Peterson

Lena is a software engineer with over 10 years of experience in web development and a passion for teaching coding best practices.

CodersTimme

Type to search articles.