01Chapter 1: The last digits of a number are its remainders mod 10 and mod 100Questions such as "What is the unit digit of 7^123?" or "What are the last two digits of 2015 × 1987?" look like questions about digits. They are remainder questions. Once you see that, every later technique in this tutorial (cycles, the 10k+1 pattern, trailing zeros) is a way of computing a remaind7 min read
02Chapter 2: Unit digit of sums, differences and productsThis chapter assumes you are comfortable with place value, division with remainders and basic factorials. The previous chapter showed that the unit digit of a number is its remainder when divided by 10. Here you use that fact to find the unit digit of an expression without evaluating the whole expre6 min read
03Chapter 3: Cyclicity: how unit digits repeat in powersThis chapter assumes you can read the unit digit of a number as its remainder mod 10, and that you can multiply unit digits as in the previous chapters. You should also know the laws of exponents and how to divide with a remainder. Cyclicity is the tool that turns "unit digit of 7^123" from an impos6 min read
04Chapter 4: Unit digit of a large power in three stepsThis chapter assumes you can divide with remainders, read a number's last digit as its remainder mod 10, and know the exponent laws. The previous chapter showed that unit digits of powers repeat in cycles. Here you turn that observation into a routine that handles any exponent in a few seconds.7 min read
05Chapter 5: Unit digit of power towersThis chapter assumes you can already find the unit digit of a^n for a large n using cyclicity. That means you know the cycle lengths 1, 2 and 4 and the rule that a remainder of 0 maps to the last position in the cycle. It also assumes you know the laws of exponents and can find remainders mod 4.7 min read
06Chapter 6: Last two digits of sums and productsYou should already know that the unit digit of a number is its remainder mod 10, and that the last two digits are its remainder mod 100. You should also be comfortable with unit-digit arithmetic for sums and products, from the earlier chapters. Here we extend those ideas to two digits. Powers of num6 min read
07Chapter 7: Last two digits of powers: cycles and the 10k+1 patternThis chapter assumes you can reduce a number modulo 100, you know the unit-digit cycles of powers, and you are comfortable with the laws of exponents. The last two digits of a number are its remainder when divided by 100. To find them for a large power, you either find where the remainders start rep6 min read
08Chapter 8: Splitting mod 100 into mod 4 and mod 25This chapter assumes you can find remainders, know that "last two digits" means the remainder mod 100, and have seen unit-digit cycles. It adds one more method for last-two-digit questions. You split the problem into two easier remainder problems and then join the answers.7 min read
09Chapter 9: Why trailing zeros depend on the factors 2 and 5This chapter assumes you can factorise integers into primes, apply the laws of exponents, and divide with remainders. It builds the one idea behind every trailing-zero question in CAT Quant: a number's trailing zeros are decided by how many pairs of the prime factors 2 and 5 it contains.7 min read
10Chapter 10: Trailing zeros of n!This chapter assumes you can factorise integers into primes, know what n! means, and can use the floor function ⌊x⌋ (round down to a whole number). It also assumes the previous chapter's idea that the trailing zeros of a number equal the smaller of its exponents of 2 and 5. Here we apply that idea t6 min read
11Chapter 11: Trailing zeros of products and powersThis chapter assumes you can factorise an integer into primes, apply the laws of exponents, and already know why a trailing zero needs one factor of 2 and one factor of 5. It extends that idea from a single number to products of several numbers and to powers.6 min read
12Chapter 12: Trailing zeros in other basesThis chapter assumes you can already count trailing zeros of n! in base 10 using the floor-sum of powers of 5. It also assumes you can factorise an integer into primes and can read a number's prime factorisation. Here you extend the method to bases such as 12, 8, 36 and 30.6 min read
13Chapter 13: Mixed CAT problems: picking a method and checking the answerThis chapter assumes you know the earlier ideas in this tutorial. These are remainders mod 10 and mod 100, the cycles of unit digits, the power-tower rule, the (10k+1) pattern, the mod 4 and mod 25 split, and the factor-counting rule for trailing zeros. Here you will practise choosing between them. 6 min read