TNPSC Group 4 · Module 51 · basic depth · 7 min
Unit digits, remainders and number puzzles
What TNPSC Group 4 asks from this chapter
Syllabus lines this chapter covers:
- Part C: Aptitude and mental ability · Aptitude: simplification, percentage, HCF/LCM, ratio and proportion, interest, area and volume, time and work.
TNPSC Group 4 questions from this module are being sorted into our bank.
Cut to basic depth for TNPSC Group 4. 49 deeper paragraphs are in the full chapter.
Start from zero: what day will it be after 100 days?
Today is Monday. What day will it be after 100 days? You could count on a calendar, but there is a smarter way. The week repeats every 7 days, so every 7 days you are back on Monday.
Now 100 = 7 × 14 + 2, which means 14 full weeks and 2 extra days. The 14 weeks bring you back to Monday, and the 2 extra days move you to Wednesday. Only the leftover, the remainder, mattered.
This is the big idea of the chapter. Many patterns in numbers repeat in cycles, like the week, the hands of a clock or the last digit of powers. When something repeats, you need only the remainder after the full cycles, and a huge question becomes tiny.
Examiners love such questions because they look impossible and are actually short. "What is the last digit of 7⁹⁵?" sounds frightening, but it is just a weekday question in disguise. By the end of this chapter, you will solve it in 20 seconds.
Remainders: the rule and how to combine them
The division rule. When 47 is divided by 9, we get 47 = 9 × 5 + 2. In words, dividend = divisor × quotient + remainder. The remainder is always at least 0 and smaller than the divisor, because otherwise one more full group could be made.
Rebuilding a number. "A number divided by 13 gives quotient 7 and remainder 5. Find the number." Use the rule directly: 13 × 7 + 5 = 96. Many puzzle questions are just this rule with the parts described in words.
Remainders combine. To find the remainder of a sum or product, you may replace each number by its own remainder first. For example, 38 × 47 divided by 5: 38 leaves 3 and 47 leaves 2, so the product leaves the remainder of 3 × 2 = 6, which is 1. You can check that 38 × 47 = 1,786, which indeed leaves 1.
Why it works. Write 38 = 5 × 7 + 3 and 47 = 5 × 9 + 2. When you multiply them out, every piece except 3 × 2 contains a 5, so it leaves no remainder. Only the product of the remainders decides the answer.
Digit sums for 9. Since any number leaves the same remainder on division by 9 as its digit sum does, remainders by 9 are especially easy. For 1,234 × 5,678 divided by 9, the digit sums give 1 and 8, so the remainder is 8.
Unit digits: the cycles of last digits
The last digit only depends on last digits. The last digit of 23 × 47 × 58 is the last digit of 3 × 7 × 8 = 168, which is 8. The tens and hundreds can never affect the units place, so you can throw them away at once.
Powers fall into cycles. Look at the powers of 7: 7, 49, 343, 2,401, 16,807, and so on. The last digits go 7, 9, 3, 1, and then 7 again, so they repeat every 4 powers. The digits 2, 3, 7 and 8 all have cycles of 4, while 4 and 9 have cycles of 2, and 0, 1, 5 and 6 never change.
| Last digit of base | Cycle of last digits |
|---|---|
| 2 | 2, 4, 8, 6 |
| 3 | 3, 9, 7, 1 |
| 7 | 7, 9, 3, 1 |
| 8 | 8, 4, 2, 6 |
| 4 and 9 | 4, 6 and 9, 1 |
| 0, 1, 5, 6 | Always the same digit |
The method. For the last digit of 7⁹⁵, divide the power 95 by the cycle length 4, which leaves remainder 3. So pick the 3rd digit of the cycle 7, 9, 3, 1, which is 3. If the remainder is 0, pick the 4th (last) digit of the cycle, not the first.
Why the cycle exists. Each new power is the previous last digit times 7, and only ten last digits are possible. So the pattern must eventually return to a digit it has seen, and from then on it repeats exactly. This is the same reason weekdays repeat.
Quick revision
- Dividend = divisor × quotient + remainder, and the remainder is always smaller than the divisor.
- The remainder of a sum or product equals the remainder of the sum or product of the remainders.
- The last digits of powers of 2, 3, 7 and 8 repeat every 4, those of 4 and 9 repeat every 2, and 0, 1, 5 and 6 never change.
- To find a unit digit, divide the power by the cycle length, and take the last digit of the cycle when the remainder is 0.
- (x + 1)ⁿ leaves 1 on division by x, while (x − 1)ⁿ leaves 1 for even n and x − 1 for odd n.
- A two-digit number is 10a + b, its difference from its reverse is 9(a − b), and its sum with its reverse is 11(a + b).
- The zeros at the end of n! equal the number of 5s in it, counted as n ÷ 5 + n ÷ 25 + ... rounded down.
- The weekday after N days moves forward by the remainder of N ÷ 7.