Skip to content
∑ Numerive

Learn

HomeTry a questionMy questsLearning SearchHomeworkUnderstand & rememberCurriculumFlashcardsUniversity

Exam preparation

Mock examsSATPSAT/NMSQTAMC 8 / 10 / 12

Your learning world

My characterAchievementsFriendsStudy groups

Family & help

Family workspace30-day reasoning planStudent sign inFor familiesContact & help
∑ NumeriveMATH
LearningExamsFamily
Make learning comfortable
Changing style, motion, or reading speed keeps your current question, answers, homework, and saved progress. The school band still chooses your task layout. Saved to your learner profile across devices. All lessons and help stay available.
← Introduction to Number Theory levels

Introduction to Number Theory / LEVEL 2 · DIFFICULTY 2/5

Factorials and Representations

Understand place value and repeated factors.

3 stages · 24 practice problems · two 6-question assessment forms

Choose an island to read its lesson.

  1. 1MINI QUEST NT 2.1Prime Powers in FactorialsRead the lesson
  2. 2MINI QUEST NT 2.2Place Value in Other BasesRead the lesson
  3. 3MINI QUEST NT 2.3Computing with RemaindersRead the lesson
  4. LEVEL CHECKCastle challenge

    6 questions across this level.

    Sign in for the level check →

STAGE NT 2.1 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Prime Powers in Factorials

Useful preparation: Summing Divisors

The idea to remember

The exponent of prime p in n!\displaystyle n!n! is ⌊np\displaystyle \frac{n}{p}pn​⌋+⌊np2\displaystyle \frac{n}{p^{2}}p2n​⌋+… . Higher powers contribute extra copies.

Remember with 2 flashcards →

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 p2\displaystyle p^{2}p2, and so on. Counting these layers captures numbers with repeated prime factors.

vp (n!)\displaystyle v_{p}\, \left(n!\right)vp​(n!)=⌊np\displaystyle \frac{n}{p}pn​⌋+⌊np2\displaystyle \frac{n}{p^{2}}p2n​⌋+…

Choose and carry out a method

Add floor(np\displaystyle \frac{n}{p}pn​), floor(np2\displaystyle \frac{n}{p^{2}}p2n​), and subsequent terms until they become zero. For trailing decimal zeros, compare the exponents of two and five.

Check the reasoning

A multiple of p2\displaystyle p^{2}p2 must contribute at least twice. Counting only multiples of p misses this extra contribution.

WORKED EXAMPLE 1

What is the exponent of 5 in the prime factorization of 17!\displaystyle 17!17!?

  1. Count a contribution for each multiple of 5, another for each multiple of 25, and so on.
  2. Add floor(175\displaystyle \frac{17}{5}517​)+floor(1725\displaystyle \frac{17}{25}2517​)+floor(17125\displaystyle \frac{17}{125}12517​)+… .
  3. The total is 3. For trailing zeros, factors of 2 are more plentiful, so factors of 5 determine the count.

3

WORKED EXAMPLE 2

What is the exponent of 5 in the prime factorization of 22!\displaystyle 22!22!?

  1. Count a contribution for each multiple of 5, another for each multiple of 25, and so on.
  2. Add floor(225\displaystyle \frac{22}{5}522​)+floor(2225\displaystyle \frac{22}{25}2522​)+floor(22125\displaystyle \frac{22}{125}12522​)+… .
  3. 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?

Discuss together

Invite your learner to explain: Why do factors of five control the trailing zeros of a factorial? Use the worked examples to discuss their reasoning.

Preview the eight practice prompts
  1. Problem 1

    What is the exponent of 5 in the prime factorization of 32!\displaystyle 32!32!?

    Practise this exact problem →
  2. Problem 2

    What is the exponent of 5 in the prime factorization of 37!\displaystyle 37!37!?

    Practise this exact problem →
  3. Problem 3

    What is the exponent of 5 in the prime factorization of 42!\displaystyle 42!42!?

    Practise this exact problem →
  4. Problem 4

    What is the exponent of 5 in the prime factorization of 47!\displaystyle 47!47!?

    Practise this exact problem →
  5. Problem 5

    What is the exponent of 5 in the prime factorization of 52!\displaystyle 52!52!?

    Practise this exact problem →
  6. Problem 6

    What is the exponent of 5 in the prime factorization of 57!\displaystyle 57!57!?

    Practise this exact problem →
  7. Problem 7New context

    The product 1⋅2\displaystyle 1 \cdot 21⋅2·…·62 is written in decimal notation. How many trailing zeros does it have?

    Practise this exact problem →
  8. Problem 8New context

    The product 1⋅2\displaystyle 1 \cdot 21⋅2·…·67 is written in decimal notation. How many trailing zeros does it have?

    Practise this exact problem →
Open stage NT 2.1 in the student workspace →

STAGE NT 2.2 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Place Value in Other Bases

Useful preparation: Prime Powers in Factorials

The idea to remember

In base b, place values are powers of b and each digit lies between 0 and b−1\displaystyle b - 1b−1.

Remember with 2 flashcards →

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.

(d2 d1 d0)\displaystyle \left(d_{2}\, d_{1}\, d_{0}\right)(d2​d1​d0​)ᵦ=d2 b2+d1 b+d0\displaystyle d_{2}\, b^{2} + d_{1}\, b + d_{0}d2​b2+d1​b+d0​

Choose and carry out a method

Starting from the right, label weights 1, b, b2\displaystyle b^{2}b2 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.

WORKED EXAMPLE 1

Convert the base-6 numeral 123 to base ten.

  1. Place values in base b are powers of b.
  2. 123 in base 6 means 1⋅62+2⋅6+3\displaystyle 1 \cdot 6^{2} + 2 \cdot 6 + 31⋅62+2⋅6+3.
  3. The decimal value is 51; every displayed digit is smaller than the base.

51

WORKED EXAMPLE 2

Convert the base-7 numeral 123 to base ten.

  1. Place values in base b are powers of b.
  2. 123 in base 7 means 1⋅72+2⋅7+3\displaystyle 1 \cdot 7^{2} + 2 \cdot 7 + 31⋅72+2⋅7+3.
  3. 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.

Discuss together

Invite your learner to explain: Convert your result back by repeated division by the base. Use the worked examples to discuss their reasoning.

Preview the eight practice prompts
  1. Problem 1

    Convert the base-9 numeral 123 to base ten.

    Practise this exact problem →
  2. Problem 2

    Convert the base-10 numeral 123 to base ten.

    Practise this exact problem →
  3. Problem 3

    Convert the base-11 numeral 123 to base ten.

    Practise this exact problem →
  4. Problem 4

    Convert the base-12 numeral 123 to base ten.

    Practise this exact problem →
  5. Problem 5

    Convert the base-13 numeral 123 to base ten.

    Practise this exact problem →
  6. Problem 6

    Convert the base-14 numeral 123 to base ten.

    Practise this exact problem →
  7. Problem 7New context

    A counter uses base 15. Its three displayed digits are 1, 2, and 3. What ordinary base-ten count do they represent?

    Practise this exact problem →
  8. Problem 8New context

    A counter uses base 16. Its three displayed digits are 1, 2, and 3. What ordinary base-ten count do they represent?

    Practise this exact problem →
Open stage NT 2.2 in the student workspace →

STAGE NT 2.3 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Computing with Remainders

Useful preparation: Place Value in Other Bases

The idea to remember

Congruent numbers have the same remainder. Addition and multiplication preserve congruence.

Remember with 2 flashcards →

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.

a≡r\displaystyle a \equiv ra≡r, b≡s\displaystyle b \equiv sb≡s (mod m) ⇒ ab+a≡rs+r\displaystyle ab + a \equiv rs + rab+a≡rs+r

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.

WORKED EXAMPLE 1

Find the least nonnegative remainder of 18⋅14+18\displaystyle 18 \cdot 14 + 1818⋅14+18 when divided by 4.

  1. Reduce factors before multiplying, then reduce the final sum.
  2. 18≡2\displaystyle 18 \equiv 218≡2 and 14≡2\displaystyle 14 \equiv 214≡2 modulo 4, so the expression is congruent to 2⋅2+2\displaystyle 2 \cdot 2 + 22⋅2+2.
  3. The least nonnegative representative is 2, which lies between 0 and 3.

2

WORKED EXAMPLE 2

Find the least nonnegative remainder of 23⋅18+23\displaystyle 23 \cdot 18 + 2323⋅18+23 when divided by 5.

  1. Reduce factors before multiplying, then reduce the final sum.
  2. 23≡3\displaystyle 23 \equiv 323≡3 and 18≡3\displaystyle 18 \equiv 318≡3 modulo 5, so the expression is congruent to 3⋅3+3\displaystyle 3 \cdot 3 + 33⋅3+3.
  3. 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 m−1\displaystyle m - 1m−1.

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.

Discuss together

Invite your learner to explain: Explain why replacing an input by a congruent one leaves the result unchanged. Use the worked examples to discuss their reasoning.

Preview the eight practice prompts
  1. Problem 1

    Find the least nonnegative remainder of 30⋅22+30\displaystyle 30 \cdot 22 + 3030⋅22+30 when divided by 7.

    Practise this exact problem →
  2. Problem 2

    Find the least nonnegative remainder of 35⋅26+35\displaystyle 35 \cdot 26 + 3535⋅26+35 when divided by 8.

    Practise this exact problem →
  3. Problem 3

    Find the least nonnegative remainder of 37⋅30+37\displaystyle 37 \cdot 30 + 3737⋅30+37 when divided by 9.

    Practise this exact problem →
  4. Problem 4

    Find the least nonnegative remainder of 42⋅34+42\displaystyle 42 \cdot 34 + 4242⋅34+42 when divided by 10.

    Practise this exact problem →
  5. Problem 5

    Find the least nonnegative remainder of 47⋅34+47\displaystyle 47 \cdot 34 + 4747⋅34+47 when divided by 11.

    Practise this exact problem →
  6. Problem 6

    Find the least nonnegative remainder of 49⋅38+49\displaystyle 49 \cdot 38 + 4949⋅38+49 when divided by 12.

    Practise this exact problem →
  7. Problem 7New context

    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?

    Practise this exact problem →
  8. Problem 8New context

    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?

    Practise this exact problem →
Open stage NT 2.3 in the student workspace →
Browse another level →
∑ Numerive

Learn

HomeTry a questionMy questsLearning SearchHomeworkUnderstand & rememberCurriculumFlashcardsUniversity

Exam preparation

Mock examsSATPSAT/NMSQTAMC 8 / 10 / 12

Your learning world

My characterAchievementsFriendsStudy groups

Family & help

Family workspace30-day reasoning planStudent sign inFor familiesContact & help
Factorials and Representations: lessons and practice | Numerive Math