Sub topic 13
Mixed CAT Problems: Picking a Method and Checking the Answer
Assume you know place value, prime factorisation, laws of exponents, division with remainders, and factorial notation. The main CAT skill in mixed questions is choosing the smallest useful calculation instead of expanding a large number.
A method-selection checklist
Read the question for its target:
- Last digit means work modulo 10.
- Last two digits means work modulo 100.
- Trailing zeros means count complete factors of 10.
- A factorial usually requires counting factors of 5.
- A power with a large exponent usually requires a cycle.
- A power tower such as \(a^{(b^c)}\) requires reducing the exponent first.
Then simplify the expression before calculating. For a product, reduce each factor modulo 10 or 100. For trailing zeros, factor the terms into primes and ignore factors that cannot form the required base.
Worked mixed examples
Suppose you need the unit digit of \(7^{123}\). The powers of 7 have the cycle \(7, 9, 3, 1\), with length 4. Since \(123\) leaves remainder 3 when divided by 4, choose the third cycle value. The answer is 3.
For a power tower, find the exponent remainder rather than the full exponent. To find the unit digit of \(3^{(4^5)}\), the cycle of 3 has length 4. Since \(4^5\) is divisible by 4, use the fourth cycle position. The answer is 1. A remainder of zero means the final position of the cycle, not the first position.
For last two digits, use modulo 100. The pattern \(10k+1\) is useful because every positive power of a number ending in 01 also ends in 01. For example, \(3^{20}=3,486,784,401\), so \(3^{20}\) ends in 01. Therefore every positive power of \(3^{20}\) also ends in 01.
You can also split modulo 100 into modulo 4 and modulo 25. This is useful when a number is easier to handle under these smaller moduli. Find a value that satisfies both remainders, then choose the value from 00 through 99.
Trailing-zero problems
A trailing zero is created by a factor of 10. Since \(10=2\times5\), the number of trailing zeros is
\[ \min(\text{number of factors of 2},\text{number of factors of 5}). \]
For \(100!\), factors of 5 are less common than factors of 2:
\[ \left\lfloor\frac{100}{5}\right\rfloor+ \left\lfloor\frac{100}{25}\right\rfloor=20+4=24. \]
Thus \(100!\) has 24 trailing zeros.
For a product, count factors across all terms. For a power, multiply each prime exponent by the power. In another base, factor the base first. For base \(12=2^2\cdot3\), the number of terminal base-12 zeros in \(N\) is
\[ \min\left(\left\lfloor\frac{v2(N)}{2}\right\rfloor,v3(N)\right), \]
where \(v_p(N)\) means the exponent of prime \(p\) in \(N\).
A two-minute checking routine
- Recalculate the final exponent remainder.
- For last two digits, write a leading zero when needed.
- Test the result against the original number modulo 10.
- For zeros, verify both prime counts and take the smaller one.
- If possible, use a small direct calculation or modular computation as a second check.
Exercise
Find the unit digit of \(8^{2026}\), and state the method.
Show answer
The cycle of 8 is 8, 4, 2, 6. Since \(2026\) leaves remainder 2 modulo 4, choose the second value. The unit digit is 4.