NumeriveMATH
CurriculumFamily workspaceStudentMy characterAchievementsContact
Prealgebra levels

Prealgebra / LEVEL 3 · DIFFICULTY 1/5

Number Theory Foundations

Use divisibility and prime structure to solve factor and multiple problems.

6 stages · 48 practice problems · two 12-question assessment forms

Choose an island to read its lesson.

  1. MINI QUEST 3.1Divisibility & RemaindersRead the lesson
  2. MINI QUEST 3.2Prime & Composite NumbersRead the lesson
  3. MINI QUEST 3.3Prime FactorizationRead the lesson
  4. MINI QUEST 3.4Greatest Common DivisorRead the lesson
  5. MINI QUEST 3.5Least Common MultipleRead the lesson
  6. MINI QUEST 3.6Factor–Multiple Problem SolvingRead the lesson
  7. LEVEL CHECKCastle challenge

    12 questions across this level.

    Sign in for the level check →

STAGE 3.1 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Divisibility & Remainders

Goal: Decide divisibility without long division and interpret a remainder in a repeated cycle.

Before you begin: Whole-number division and place value.

A quotient counts full groups; a remainder counts what is left.

For a positive divisor d, every whole number n has exactly one expression n = dq + r with 0 ≤ r < d. If r = 0, d divides n. A remainder can never equal or exceed the divisor: that would make another full group.

n = d × q + r, 0 ≤ r < d

Why the digit-sum tests work

In division by 9, 10 leaves remainder 1. So do 100, 1,000, and every power of 10. Replacing each place-value unit by 1 preserves the remainder. That means a number and its digit sum have the same remainder when divided by 9. The same reasoning works for 3. It does not give a digit-sum rule for every divisor.

3,482 = 3×1,000 + 4×100 + 8×10 + 2 ≡ 3+4+8+2 (mod 9)

Choose the test that matches the divisor

For 2, inspect the last digit. For 5, the last digit must be 0 or 5. For 10, it must be 0. For 4, inspect the last two digits, because every multiple of 100 is divisible by 4. A number divisible by 6 must be divisible by both 2 and 3. For a cycle of length d, full groups of d return to the start; the remainder tells you where you finish.

WORKED EXAMPLE 1

Is 6,738 divisible by 6?

  1. The final digit 8 is even, so the number is divisible by 2.
  2. The digit sum is 6+7+3+8=24, which is divisible by 3.
  3. Passing both tests gives divisibility by 6.

Yes.

WORKED EXAMPLE 2

Starting at position 0 on a seven-position dial, advance 52 positions. Where do you stop?

  1. Seven advances complete one cycle.
  2. 52 = 7×7 + 3.
  3. Seven complete cycles return to 0, leaving three more advances.

Position 3.

Common pitfalls

Possible mix-up: A digit sum of 15 means the remainder modulo 9 is 15.

Reduce the digit sum too: 15 = 9+6, so the remainder is 6.

Possible mix-up: A number divisible by 3 is automatically divisible by 9.

For example, 12 is divisible by 3 but not by 9.

Explain it to yourself

Explain why checking the digit sum is enough for 9, but not for 4.

Preview the eight practice prompts
  1. Is 7,254 divisible by 3? Enter yes or no.
  2. What is the remainder when 4,317 is divided by 9?
  3. Find the smallest positive digit x so that 53x4 is divisible by 9.
  4. A robot walks 5,624 steps around a track with 9 marked positions, starting at position 0. At which position (0–8) does it stop? New context
  5. Is 3,426 divisible by 6? Enter yes or no.
  6. Is 5,712 divisible by 4? Enter yes or no.
  7. What is the remainder when 287 is divided by 5?
  8. A seven-color light cycle is numbered 0 through 6. Starting at color 0, it advances one color per second. Which color is showing after 100 seconds? New context
Open stage 3.1 in the student workspace →

STAGE 3.2 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Prime & Composite Numbers

Useful preparation: Divisibility & Remainders

Goal: Distinguish prime, composite, and neither, and justify a primality decision with a finite set of tests.

Before you begin: Divisors and simple divisibility tests.

Count positive divisors, not how large a number looks

A prime is an integer greater than 1 with exactly two positive divisors: 1 and itself. A composite integer is greater than 1 and has additional positive divisors. The number 1 has only one positive divisor, so it is neither. The number 2 is prime and is the only even prime.

Why testing up to the square root is enough

If n = a×b and both a and b were greater than √n, their product would exceed n. A composite number therefore has a divisor at most √n. It is enough to test prime divisors in that range, since every composite divisor contains a prime divisor.

If n = a × b, at least one factor is ≤ √n.

A rectangle is a factorization you can see

Arranging n tiles in a filled rectangle gives whole-number side lengths whose product is n. A prime permits only a 1-by-n rectangle. One nontrivial factor pair proves a number is composite. Failing a few tests proves primality only after every necessary prime up to the square root has been checked.

WORKED EXAMPLE 1

Is 77 prime?

  1. The primes at most √77 are 2, 3, 5, and 7.
  2. 77 is divisible by 7: 77 = 7×11.
  3. A nontrivial factor pair is enough to settle the question.

Composite.

WORKED EXAMPLE 2

Is 43 prime?

  1. √43 lies between 6 and 7. Test only 2, 3, and 5.
  2. 43 is odd, its digit sum 7 is not divisible by 3, and it ends in neither 0 nor 5.
  3. No prime divisor at most √43 divides it.

Prime.

Common pitfalls

Possible mix-up: Every odd number is prime.

An odd number can have odd factors: 45 = 5×9.

Possible mix-up: 1 is prime because it is divisible by itself.

A prime needs exactly two distinct positive divisors; 1 has only one.

Explain it to yourself

Why is testing 2, 3, 5, and 7 sufficient to decide whether 97 is prime?

Preview the eight practice prompts
  1. Is 91 prime or composite? Enter prime or composite.
  2. Is 1 prime, composite, or neither? Enter prime, composite, or neither.
  3. What is the smallest prime greater than 50?
  4. A designer has 47 square tiles. Can they form a filled rectangle with both sides longer than 1 tile? Enter yes or no. New context
  5. How many positive factors does a prime number have?
  6. Is 121 prime or composite? Enter prime or composite.
  7. What is the smallest prime factor of 143?
  8. A club has 29 members. Can everyone form equal teams with more than one team and more than one member per team? Enter yes or no. New context
Open stage 3.2 in the student workspace →

STAGE 3.3 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Prime Factorization

Useful preparation: Prime & Composite Numbers

Goal: Represent integers with prime powers and use exponent choices to count divisors and build squares.

Before you begin: Prime numbers and exponents.

Break factors down until every factor is prime

Start with any nontrivial factor pair, and keep splitting composite factors. Every integer greater than 1 has one prime factorization, apart from the order of the factors. A factor tree may look different while its prime leaves agree.

360 = 36×10 = 2³ × 3² × 5

A divisor makes an independent exponent choice

A divisor of 360 may use zero through three copies of 2, zero through two copies of 3, and zero or one copy of 5. Multiplying the numbers of choices counts every positive divisor exactly once. Include exponent zero, which means omitting that prime.

If n = pᵃqᵇ, the divisor count is (a+1)(b+1).

Squares pair every prime factor

Squaring an integer doubles all prime exponents. Conversely, an integer with only even prime exponents is a perfect square. To find the smallest multiplier that makes a square, include one copy of every prime whose exponent is odd; do not add unnecessary copies.

WORKED EXAMPLE 1

How many positive divisors does 150 have?

  1. 150 = 2¹×3¹×5².
  2. There are 2 choices for the exponent of 2, 2 for 3, and 3 for 5.
  3. 2×2×3 = 12, including 1 and 150.

12 divisors.

WORKED EXAMPLE 2

Find the smallest positive multiplier that makes 72 a square.

  1. 72 = 2³×3².
  2. Only the exponent of 2 is odd. Add one factor of 2.
  3. 72×2 = 144 = 12².

2.

Common pitfalls

Possible mix-up: The number of divisors is the sum of the prime exponents.

Exponent choices combine independently, so multiply (exponent + 1) values.

Possible mix-up: A perfect square must have even prime factors.

Its exponents must be even. For example, 81 = 3⁴ is a square despite having an odd prime factor.

Explain it to yourself

Explain why a perfect square has an odd number of positive divisors.

Preview the eight practice prompts
  1. Write the exponent of 2 in the prime factorization of 240.
  2. If n = 2³ × 3² × 5, how many positive divisors does n have?
  3. What is the smallest positive integer that must multiply 180 to make a perfect square?
  4. There are 252 counters. Multiply this total by the smallest positive whole number so the counters can fill a square grid. What multiplier is needed? New context
  5. How many positive factors does 72 have?
  6. What is the exponent of 3 in the prime factorization of 486?
  7. Find the smallest positive whole number that multiplies 108 to make a perfect square.
  8. A code uses one divisor of 200 as its numerical value. How many different positive code values are possible? New context
Open stage 3.3 in the student workspace →

STAGE 3.4 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Greatest Common Divisor

Useful preparation: Prime Factorization

Goal: Find the greatest common divisor and recognize equal-group situations with no leftovers.

Before you begin: Prime factorization and division with remainder.

Common means it must fit both numbers

A common divisor divides each number exactly. The greatest common divisor, or GCD, is the largest such integer. If a number is split into equal groups with no leftovers, the group size must divide the total. When the same group size must work for two totals, use common divisors.

Shared prime powers use the smaller exponent

A common divisor cannot use more copies of a prime than either number has. For each shared prime, take the smaller exponent. A prime missing from one number contributes exponent zero. Multiplying the shared powers gives the GCD.

gcd(60,84) = gcd(2²×3×5, 2²×3×7) = 2²×3 = 12

Subtracting a multiple keeps the common divisors

If a divisor divides a and b, it also divides a−qb. Conversely, a divisor of b and a−qb divides a. This is the Euclidean algorithm: replace the larger number by the remainder, repeating until the remainder is zero. The last nonzero remainder is the GCD.

WORKED EXAMPLE 1

Find gcd(135, 84).

  1. 135 = 1×84 + 51.
  2. 84 = 1×51 + 33; 51 = 1×33 + 18.
  3. 33 = 1×18 + 15; 18 = 1×15 + 3; 15 = 5×3.

3.

WORKED EXAMPLE 2

A baker has 60 oat cookies and 84 ginger cookies. What is the largest number of identical boxes using every cookie?

  1. The number of boxes must divide 60 and 84.
  2. gcd(60,84) = 12.
  3. Each box receives 60÷12=5 oat cookies and 84÷12=7 ginger cookies.

12 boxes.

Common pitfalls

Possible mix-up: Use the largest exponent when finding a GCD.

A common divisor must fit inside both factorizations, so use the smaller shared exponent.

Possible mix-up: The GCD always equals the smaller number.

That happens only when the smaller number divides the larger one.

Explain it to yourself

In the cookie example, distinguish the number of boxes from the number of cookies in each box.

Preview the eight practice prompts
  1. Find gcd(84, 126).
  2. Find gcd(252, 198).
  3. A teacher has 96 red tiles and 144 blue tiles and wants identical kits with no leftovers. What is the greatest possible number of kits? New context
  4. Find gcd(45, 75).
  5. Find gcd(35, 64).
  6. Find the GCD of 2³ × 3² × 5 and 2⁵ × 3 × 7.
  7. A 72 cm by 120 cm rectangle is tiled with identical squares of whole-number side length, with no gaps or cuts. What is the largest possible square side length in cm? New context
  8. Find gcd(99, 121).
Open stage 3.4 in the student workspace →

STAGE 3.5 · 8 PRACTICE PROBLEMS · 2 NEW-CONTEXT APPLICATIONS

Least Common Multiple

Useful preparation: Prime Factorization

Goal: Find the least common multiple and model the next coincidence of repeating events.

Before you begin: Multiples and prime powers.

A common multiple contains both numbers

A multiple of n is n times an integer. A common multiple must be divisible by every given number. The least common multiple, or LCM, is the smallest positive one. It models the first positive time at which repeating schedules meet again when they start together.

Enough of every required prime

A multiple must contain at least as many copies of each prime as either original number needs. Choose the larger exponent for each prime that appears in either number. This meets every divisibility requirement without unnecessary factors.

lcm(10,14) = lcm(2×5, 2×7) = 2×5×7 = 70

Check both divisibility and minimality

After calculating an LCM, verify that dividing it by each original number gives an integer. A product of the numbers always works as a common multiple, but it often repeats shared prime factors unnecessarily. For two positive integers, gcd(a,b)×lcm(a,b)=a×b.

WORKED EXAMPLE 1

Find lcm(16, 20).

  1. 16 = 2⁴ and 20 = 2²×5.
  2. Take 2⁴ and 5¹, giving 80.
  3. 80÷16=5 and 80÷20=4. A smaller multiple cannot contain all required prime powers.

80.

WORKED EXAMPLE 2

Two chimes sound every 10 and 14 minutes. They sound together at noon. When do they next sound together?

  1. The elapsed time must be a positive multiple of both periods.
  2. lcm(10,14)=70 minutes.
  3. Seventy minutes after noon is 1:10 p.m.

1:10 p.m.

Common pitfalls

Possible mix-up: The LCM is always the product of the numbers.

The product is a common multiple, but shared prime factors can make a smaller one possible.

Possible mix-up: Choose the smaller exponents for an LCM.

Smaller exponents may fail a divisibility requirement. Use the larger exponent for each prime.

Explain it to yourself

When does lcm(a,b) equal a×b? Explain using shared prime factors.

Preview the eight practice prompts
  1. Find lcm(12, 18).
  2. Two lights flash every 18 seconds and 24 seconds. If they flash together now, after how many seconds will they next flash together? New context
  3. Find the smallest positive integer divisible by 8, 12, and 15.
  4. Find lcm(16, 20).
  5. Find lcm(7, 9).
  6. Find lcm(12, 30).
  7. Pencils come in packs of 8 and erasers in packs of 14. What is the smallest positive equal total of pencils and erasers obtainable using full packs? New context
  8. Find the LCM of 2⁴ × 3² and 2² × 3³.
Open stage 3.5 in the student workspace →

STAGE 3.6 · 8 PRACTICE PROBLEMS · 3 NEW-CONTEXT APPLICATIONS

Factor–Multiple Problem Solving

Useful preparation: Greatest Common Divisor · Least Common Multiple

Goal: Translate a word problem into divisibility conditions before choosing GCD, LCM, or a further check.

Before you begin: GCD, LCM, and the direction of divisibility.

Translate before calculating

Ask what the unknown must do. Must it divide several totals? Look at common divisors. Must several periods or sizes divide the unknown? Look at common multiples. Then decide whether the question wants the greatest divisor, the least positive multiple, or some other constrained value.

The words alone do not choose the operation

“Largest” does not automatically mean GCD and “smallest” does not automatically mean LCM. Identify what divides what. A fixed number of groups might ask for items per group after you find the number of groups. A schedule problem might ask for clock time after you find elapsed minutes.

Extra conditions still matter

A GCD or LCM may produce only a candidate. Check inequalities, leftovers, excluded divisors, and units. If the first common multiple fails a condition, examine later multiples systematically. Explain why all smaller candidates fail to justify that your answer is least.

WORKED EXAMPLE 1

Ribbons of lengths 54 cm and 90 cm are cut into the longest equal pieces with no waste. How many pieces are made in total?

  1. The piece length must divide both lengths: gcd(54,90)=18 cm.
  2. The first ribbon makes 54÷18=3 pieces, and the second makes 90÷18=5.
  3. The question asks for the total number of pieces, not the piece length.

8 pieces.

WORKED EXAMPLE 2

Find the smallest integer greater than 100 divisible by both 8 and 12.

  1. lcm(8,12)=24. Every common multiple is a multiple of 24.
  2. The nearby candidates are 24×4=96 and 24×5=120.
  3. 96 fails the inequality; 120 passes it.

120.

Common pitfalls

Possible mix-up: A correct GCD or LCM calculation always finishes the problem.

Reread what is asked; convert to the requested count or clock time, and check all extra conditions.

Possible mix-up: GCD and LCM can be selected using one keyword.

Write the divisibility relationship first. Keywords alone are not enough.

Explain it to yourself

Invent one situation where 6 divides the unknown and another where the unknown divides 6.

Preview the eight practice prompts
  1. You need the largest equal group size that divides both 48 and 60. Should you use GCD or LCM? Enter gcd or lcm.
  2. Three repeating events happen every 6, 8, and 15 days. Which tool finds when they next coincide: gcd or lcm?
  3. Find the smallest positive n such that n is divisible by 12 and 18 but not divisible by 8. New context
  4. Use all 42 blue beads and 70 yellow beads in the greatest possible number of identical bags. How many bags can you make?
  5. Find the smallest whole number greater than 100 that is divisible by both 15 and 20.
  6. To tile a rectangle with the largest identical whole-number square tiles, should you use the GCD or LCM of its side lengths? Enter gcd or lcm.
  7. Find a positive integer divisible by both 6 and 8 but not divisible by 12. If no such integer exists, enter none. New context
  8. Two signals flash every 9 and 12 seconds, both starting at time 0. What is the first time strictly after 50 seconds when they flash together? Enter the time in seconds. New context
Open stage 3.6 in the student workspace →

Structure lab

Change two numbers to investigate their prime structure. Predict the GCD and LCM before checking the result.

48 = 2^4 × 3
72 = 2^3 × 3^2

GCD 24 · LCM 144

Check: 24 × 144 = 3456 = 48 × 72.

Browse another level →