BPSC AEDO course‹› 0:00 studied

BPSC AEDO · Module 42 · standard depth · 15 min

Unit digits, remainders and number puzzles

What BPSC AEDO asks from this chapter

Syllabus lines this chapter covers:

  • Paper 3: General Aptitude · Arithmetic: number system, whole numbers, decimals and fractions, percentage, ratio and proportion, average, interest, profit and loss
  • Paper 3: General Aptitude · Reasoning: analogy, similarities and differences, space visualisation, problem solving, classification, number and non-verbal series, coding-decoding

BPSC AEDO questions from this module are being sorted into our bank.

Cut to standard depth for BPSC AEDO. 8 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.

The week as a clock with seven hours

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.

Dividend = divisor × quotient + remainder

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.

The unit-digit wheels

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.

Remainders of huge powers

The "one more than a multiple" trick. What remainder does 9⁵⁰ leave when divided by 8? Since 9 = 8 + 1, every multiplication by 9 adds a multiple of 8 and keeps the leftover 1. So (x + 1)ⁿ always leaves remainder 1 when divided by x, and 9⁵⁰ leaves 1.

Why 9⁵⁰ leaves 1 when divided by 8

The "one less than a multiple" trick. What about 15²³ divided by 16? Here 15 = 16 − 1, which behaves like −1.

An even number of −1s multiply to +1 and an odd number give −1, so (x − 1)ⁿ leaves 1 when n is even and x − 1 when n is odd. Since 23 is odd, the remainder is 16 − 1 = 15.

Reducing the base first. For 2¹⁰⁰ divided by 3, notice that 2 = 3 − 1. Since 100 is even, the remainder is 1. For 5²⁰ divided by 6, note 5 = 6 − 1 and 20 is even, so the remainder is again 1.

Using cycles of remainders. When neither trick fits, list the remainders of the first few powers until they repeat. Powers of 2 divided by 5 leave 2, 4, 3, 1, and then the pattern repeats every 4. So 2³¹ leaves the 3rd value of the cycle, because 31 leaves remainder 3 when divided by 4, and the answer is 3.

Why it matters: these questions test whether you look for structure before you calculate. That habit is exactly what the aptitude paper rewards, because brute force simply runs out of time.

Number puzzles: digits, reversals and trailing zeros

Writing a number from its digits. A two-digit number with tens digit a and units digit b is 10a + b, not ab. So 72 is 10 × 7 + 2. Almost every digit puzzle starts by writing the number this way.

A number and its reverse

Reversing the digits. The reverse of 10a + b is 10b + a. Their difference is 9(a − b) and their sum is 11(a + b). So if a number exceeds its reverse by 45, the digits differ by 45 ÷ 9 = 5, as in 72 and 27 or 94 and 49.

A full puzzle. "The digits of a two-digit number add up to 9, and the number is 27 more than its reverse. Find it." The digits differ by 27 ÷ 9 = 3 and add to 9, so they are 6 and 3. The number is 63, and indeed 63 − 36 = 27.

Zeros at the end of a factorial. n! means 1 × 2 × 3 × ... × n.

Each zero at the end needs a factor 10 = 2 × 5, and there are always more 2s than 5s, so you only count the 5s. For 100!, there are 20 multiples of 5 and 4 multiples of 25 (which give an extra 5 each), so 100! ends in 20 + 4 = 24 zeros.

Why it matters: these puzzles test translation from words to algebra, which is the same skill you need for age, work and money problems. The factorial rule is a neat example of counting what matters and ignoring the rest.

Where and why this is asked

Why examiners test cycles and remainders. Administration is full of cycles: weekly market days, rotating duty rosters, monthly reports, shifts that repeat every few days. Knowing that only the remainder matters lets an officer answer "who is on duty on the 100th day?" without a chart. The exam turns this habit into number puzzles.

Cycles in an office: duty rosters and weekdays

Where it shows up. Unit-digit, remainder and digit-puzzle questions appear in aptitude papers as quick tests of "number sense". They are also the base of the calendar and clock questions in the reasoning modules. A student who sees the cycle answers in seconds, while a student who calculates may not finish at all.

When it goes wrong. The two classic slips are taking the first digit of a cycle when the remainder is 0, and writing a two-digit number as ab instead of 10a + b. Both produce answers that look reasonable, which is why they appear among the options.

The habit to build. Before calculating anything large, ask, "Does this repeat?" If it does, find the cycle length, take the remainder, and read off the answer.

Practice set: twelve solved problems

Try each problem first, then read the steps. The problems go from easy to hard.

Practice: remainders by digit sums

1. A number divided by 17 gives quotient 9 and remainder 8. Find the number.

Use dividend = divisor × quotient + remainder. So the number is 17 × 9 + 8 = 161.

2. Find the unit digit of 2⁴⁶.

The cycle of 2 is 2, 4, 8, 6, and 46 leaves remainder 2 on division by 4. So the unit digit is 4.

3. Find the unit digit of 8⁴⁰.

40 leaves remainder 0 on division by 4, so take the last digit of the cycle 8, 4, 2, 6. The answer is 6.

4. Find the unit digit of 47 × 83 × 29.

Multiply only the last digits: 7 × 3 × 9 = 189. So the unit digit is 9.

5. Find the remainder when 38 × 47 is divided by 5.

The remainders are 3 and 2, and 3 × 2 = 6 leaves 1. So the answer is 1.

6. Find the remainder when 17²⁰⁰ is divided by 16.

Since 17 = 16 + 1, the remainder is 1.

7. Find the remainder when 23⁷⁵ is divided by 24.

Since 23 = 24 − 1 and 75 is odd, the remainder is 24 − 1. So it is 23.

8. Find the remainder when 3⁴³ is divided by 5.

Powers of 3 leave 3, 4, 2, 1 on division by 5, and 43 leaves 3 on division by 4. So the remainder is 2.

9. A two-digit number is 54 more than its reverse, and its digits add to 10. Find it.

The digits differ by 54 ÷ 9 = 6 and add to 10, so they are 8 and 2. The number is 82.

10. How many zeros are at the end of 125!?

Count 125 ÷ 5 = 25, 125 ÷ 25 = 5 and 125 ÷ 125 = 1. So there are 31 zeros.

11. Today is Thursday. What day will it be after 250 days?

250 = 7 × 35 + 5, so move 5 days forward from Thursday. The answer is Tuesday.

12. The divisor is 5 times the quotient and 3 times the remainder. The remainder is 10. Find the dividend.

The divisor is 30 and the quotient is 6. So the dividend is 30 × 6 + 10 = 190.

Quick revision

One-page summary box
  • 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.

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 28 answered

  1. A number divided by 18 gives quotient 26 and remainder 12. What is the number?

  2. A number divided by 19 gives quotient 19 and remainder 16. What is the number?

  3. A number divided by 17 gives quotient 17 and remainder 14. What is the number?

  4. A number divided by 30 gives quotient 7 and remainder 14. What is the number?

  5. What is the unit digit of 4⁸¹?

  6. What is the unit digit of 7²⁰⁸?

  7. What is the unit digit of 2⁶⁵?

  8. What is the unit digit of 18²⁷⁸?

  9. What is the unit digit of 18⁴¹?

  10. What is the unit digit of 626 × 617 × 893?

  11. What is the unit digit of 901 × 217 × 227?

  12. What is the unit digit of 706 × 383 × 641?

  13. What is the remainder when 91 × 117 is divided by 9?

  14. What is the remainder when 143 × 58 is divided by 11?

  15. What is the remainder when 73 × 211 is divided by 7?

  16. What is the remainder when 6³⁵ is divided by 7?

  17. What is the remainder when 23¹²⁹ is divided by 24?

  18. What is the remainder when 23¹⁴⁰ is divided by 24?

  19. What is the remainder when 5⁴⁵ is divided by 6?

  20. A two-digit number is 18 more than the number formed by reversing its digits, and its digits add up to 14. Find the number.

  21. A two-digit number is 9 more than the number formed by reversing its digits, and its digits add up to 11. Find the number.

  22. A two-digit number is 27 more than the number formed by reversing its digits, and its digits add up to 13. Find the number.

  23. How many zeros are there at the end of 161!?

  24. How many zeros are there at the end of 541!?

  25. How many zeros are there at the end of 582!?

  26. Today is Saturday. What day of the week will it be after 716 days?

  27. Today is Thursday. What day of the week will it be after 378 days?

  28. Today is Sunday. What day of the week will it be after 355 days?

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Frequently asked questions

What is the unit digit of 7⁹⁵?

The cycle of 7 is 7, 9, 3, 1; 95 leaves remainder 3 on division by 4, so the unit digit is 3.

How do you count trailing zeros in 100!?

Count factors of 5: 100 ÷ 5 = 20 and 100 ÷ 25 = 4, so 24 zeros.

Which digits never change their unit digit when raised to a power?

0, 1, 5 and 6.

What day is it 100 days after a Monday?

100 leaves remainder 2 on division by 7, so it is Wednesday.