Make learning comfortable
Introduction to Number Theory / LEVEL 2 · DIFFICULTY 2/5
Factorials and Representations
Understand place value and repeated factors.
Choose an island to read its lesson.
STAGE NT 2.1 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS
Prime Powers in Factorials
Useful preparation: Summing Divisors
Goal: Understand and apply prime powers in factorials.
Before you begin: Summing Divisors
Understand the idea
A factorial contains one factor p from every multiple of p, an additional one from every multiple of , and so on. Counting these layers captures numbers with repeated prime factors.
Choose and carry out a method
Add floor(), floor(), and subsequent terms until they become zero. For trailing decimal zeros, compare the exponents of two and five.
Check the reasoning
A multiple of must contribute at least twice. Counting only multiples of p misses this extra contribution.
What is the exponent of 5 in the prime factorization of ?
- Count a contribution for each multiple of 5, another for each multiple of 25, and so on.
- Add floor()+floor()+floor()+… .
- The total is 3. For trailing zeros, factors of 2 are more plentiful, so factors of 5 determine the count.
3
What is the exponent of 5 in the prime factorization of ?
- Count a contribution for each multiple of 5, another for each multiple of 25, and so on.
- Add floor()+floor()+floor()+… .
- The total is 4. For trailing zeros, factors of 2 are more plentiful, so factors of 5 determine the count.
4
Common pitfalls
Possible mix-up: Every multiple of p contributes exactly once.
Multiples of higher powers contribute additional factors.
Possible mix-up: A correct numerical answer alone explains the method.
State the governing relationship and check the conditions described above.
Explain it to yourself
Why do factors of five control the trailing zeros of a factorial?
Preview the eight practice prompts
What is the exponent of 5 in the prime factorization of ?
What is the exponent of 5 in the prime factorization of ?
What is the exponent of 5 in the prime factorization of ?
What is the exponent of 5 in the prime factorization of ?
What is the exponent of 5 in the prime factorization of ?
What is the exponent of 5 in the prime factorization of ?
The product ·…·62 is written in decimal notation. How many trailing zeros does it have?
The product ·…·67 is written in decimal notation. How many trailing zeros does it have?
STAGE NT 2.2 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS
Place Value in Other Bases
Useful preparation: Prime Powers in Factorials
Goal: Understand and apply place value in other bases.
Before you begin: Prime Powers in Factorials
Understand the idea
A positional numeral represents a sum of digits times powers of its base. The positions count groups of b, then groups of b groups, rather than always groups of ten.
Choose and carry out a method
Starting from the right, label weights 1, b, and so on. Multiply each digit by its weight and add to convert to decimal.
Check the reasoning
Every digit must be smaller than the base. Conversion changes the written representation, not the represented integer.
Convert the base-6 numeral 123 to base ten.
- Place values in base b are powers of b.
- 123 in base 6 means .
- The decimal value is 51; every displayed digit is smaller than the base.
51
Convert the base-7 numeral 123 to base ten.
- Place values in base b are powers of b.
- 123 in base 7 means .
- The decimal value is 66; every displayed digit is smaller than the base.
66
Common pitfalls
Possible mix-up: Read a base-b numeral as a decimal numeral.
Its place weights are powers of b.
Possible mix-up: A correct numerical answer alone explains the method.
State the governing relationship and check the conditions described above.
Explain it to yourself
Convert your result back by repeated division by the base.
Preview the eight practice prompts
Convert the base-9 numeral 123 to base ten.
Convert the base-10 numeral 123 to base ten.
Convert the base-11 numeral 123 to base ten.
Convert the base-12 numeral 123 to base ten.
Convert the base-13 numeral 123 to base ten.
Convert the base-14 numeral 123 to base ten.
A counter uses base 15. Its three displayed digits are 1, 2, and 3. What ordinary base-ten count do they represent?
A counter uses base 16. Its three displayed digits are 1, 2, and 3. What ordinary base-ten count do they represent?
STAGE NT 2.3 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS
Computing with Remainders
Useful preparation: Place Value in Other Bases
Goal: Understand and apply computing with remainders.
Before you begin: Place Value in Other Bases
Understand the idea
Congruent integers differ by a multiple of the modulus. Addition and multiplication preserve this relationship, allowing large expressions to be reduced before arithmetic grows unwieldy.
Choose and carry out a method
Reduce each input to a remainder, carry out the addition and multiplication, then reduce the final result again.
Check the reasoning
The standard remainder is at least zero and smaller than the positive modulus. Division needs extra conditions and is not automatically valid.
Find the least nonnegative remainder of when divided by 4.
- Reduce factors before multiplying, then reduce the final sum.
- and modulo 4, so the expression is congruent to .
- The least nonnegative representative is 2, which lies between 0 and 3.
2
Find the least nonnegative remainder of when divided by 5.
- Reduce factors before multiplying, then reduce the final sum.
- and modulo 5, so the expression is congruent to .
- The least nonnegative representative is 2, which lies between 0 and 4.
2
Common pitfalls
Possible mix-up: A remainder may equal the modulus.
Replace it by zero; standard remainders stop at .
Possible mix-up: A correct numerical answer alone explains the method.
State the governing relationship and check the conditions described above.
Explain it to yourself
Explain why replacing an input by a congruent one leaves the result unchanged.
Preview the eight practice prompts
Find the least nonnegative remainder of when divided by 7.
Find the least nonnegative remainder of when divided by 8.
Find the least nonnegative remainder of when divided by 9.
Find the least nonnegative remainder of when divided by 10.
Find the least nonnegative remainder of when divided by 11.
Find the least nonnegative remainder of when divided by 12.
A dial has 13 positions numbered from 0. Starting at 0, a machine advances 54 steps on each of 42 runs, then advances 54 more steps. At which position does it stop?
A dial has 14 positions numbered from 0. Starting at 0, a machine advances 59 steps on each of 46 runs, then advances 59 more steps. At which position does it stop?

