PMath Education · Chapter 17
Lesson progress0 / 10 missions
Chapter 17 · Lesson 17.1

Decide Whether a Number Is Prime or Composite

质数与合数:判断一个数属于哪一类

Build factor pairs, learn why a primality test stops at the square root, create the primes below 100 with a sieve, and investigate the worked example’s six large candidate numbers.

One factor other than 1 or the number itself proves composite. Proving prime means ruling out every possible factor pair.
10 interactive missionsGrade 5No this lesson requiredSearchable first 1,000 primes
Work saves in this browser.
Mission 1

Prime, composite, or neither?

This lesson classifies nonnegative whole numbers: 0, 1, 2, 3, and so on. The words describe the number of positive divisors—not whether a number “looks complicated.”

Not complete

Prime

A whole number greater than 1 with exactly two positive divisors:

1 and itself

Examples: 2, 3, 5, 7, 11.

Composite

A whole number greater than 1 with more than two positive divisors.

one pair of positive factors both greater than 1 is enough

Example: 15 = 3 × 5.

Neither

The numbers 0 and 1 are neither prime nor composite.

0, 1

The number 1 has only one positive divisor, not two.

Live divisor classifier

17
Prime

Check the definitions

Need a hint? Start here

A positive divisor divides with no remainder. Test 1 and the number itself first.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 2

Use factor pairs as evidence

A factor pair multiplies to the number. A pair other than 1 × n is a direct witness that the number is composite.

Not complete

Factor-pair explorer

What counts as proof?

Composite proof: show one nontrivial factor pair.

For example:

91 = 7 × 13

For a prime, however, finding no factor by casual guessing is not enough. We need a complete stopping rule. Mission 3 builds that rule.

Read the factor evidence

Need a hint? Start here

Find a factor pair other than 1 × n. For 91, try the primes 2, 3, 5, then 7.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 3

Know when a primality test may stop

Factor pairs come in a small factor and a large factor. Once the small side has passed the square root, every possible pair has already been checked from the other direction.

Not complete

Prime-divisor trial list

Square root9.85
Largest possible prime trial up to √n7
ResultPrime
Prime trials4

Why the stop is safe

The square root √n is the nonnegative number whose square is n. For example, √121=11 because 11×11=121. Always include the boundary itself: testing only primes below 11 would miss the factor of 121.

If n = a × b and both a and b were greater than √n, then their product would be greater than n. That is impossible.

So any composite number has at least one prime factor no greater than its square root.

For 97:

√97 ≈ 9.85

Only the prime divisors 2, 3, 5, and 7 need to be tested.

Use the stopping rule

Need a hint? Start here

Check prime factors up to and including the square root. A larger factor must have a smaller partner already covered.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 4

Build every prime below 100 with a sieve

The worked example asks students to remember the 25 primes below 100. A sieve lets you construct the list instead of treating it as unexplained memorization.

Not complete

Sieve of Eratosthenes

Begin by crossing multiples of 2 greater than 2.

The 25 primes below 100

Only 2 is even. Every other prime in the list is odd.

To sieve through 100, crossing multiples of 2, 3, 5, and 7 is enough because the next prime, 11, is already greater than √100.

Audit the completed sieve

Apply all four crossing steps, or reveal the final sieve, before checking these answers.

Need a hint? Start here

Cross out multiples of each base prime, keeping the prime itself. Every composite up to 100 has a prime factor at most 10.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 5

Use a complete primality checker

Quick tests reject many composite numbers. When no quick test works, the checker tests every prime divisor up to the square root and shows the evidence.

Not complete

Number to investigate

√n
Prime trials
Smallest factor
Partner

Evidence ledger

Classify with evidence

Need a hint? Start here

A failed small-prime test supplies a factor; a passed test alone does not prove primality.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 6

Investigate the worked example’s six large candidates

Guided Practice 2 lists six numbers and states that exactly one is prime. Use quick filters first, then a complete square-root audit for the survivor.

Not complete

original-based investigation

Classify:

Added verification: the worked example gives the candidate list and says exactly one is prime. This page adds explicit factor witnesses and a complete trial-division audit so a student can see why.

Record the worked example result

Run the full six-number audit, then answer all three questions to complete this mission.

Need a hint? Start here

Use final digits and digit sums first. The remaining candidate needs all prime divisors up to its square-root boundary checked.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 7

Search the worked example’s prime reference

This searchable table lists the first 1,000 primes, ending at 7,919. Look up a prime by its position in the list or investigate a value.

Not complete

Look up a prime by index

Investigate a value

Reference facts

1st prime2
25th prime97
1,000th prime7919
Primes below 10025

The table is a reference, not a substitute for proof. When a problem asks why a number is prime, use the square-root test.

Primes 1–100

Use the reference accurately

Need a hint? Start here

A prime table is a reference. Knowing how to justify one entry matters more than memorizing distant entries.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 8

Transfer the definition to original exercises

Use digit sums, parity, and the definition itself before launching a large search.

Not complete

Can a permutation of 1–9 be prime?

Digit sum45
Divisible by 9?Yes
ClassificationComposite
Uses 1–9 once?Yes

Find a prime triple

To prove you found every answer, consider division by 3. If p leaves remainder 1, then p+14 is a multiple of 3 greater than 3. If p leaves remainder 2, then p+10 is such a multiple. Thus the only possible prime p is 3; verify all three numbers. A search only up to 200 would not by itself prove this global claim.

Find a prime p such that all three numbers are prime:

p, p + 10, p + 14
Reminder: 0 and 1

The chapter introduction defines 0 and 1 as neither prime nor composite.

Transfer check

Need a hint? Start here

Choose the rule before calculating: parity, digit sum, or trial division.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 9

Prime-or-composite workshop

Correct all eight questions to complete the workshop.

Not complete

1. The number 1 is:

2. What is the only even prime?

3. What is the smallest composite natural number?

4. How many primes are below 100?

5. What is the largest prime below 100?

6. Which candidate is prime: 31415, 314159, or 31415927?

7. Every arrangement of digits 1 through 9 is divisible by which one-digit composite number?

8. Find p if p, p+10, and p+14 are all prime.

Workshop score0 / 8
Need a hint? Start here

Use the definition for 0 and 1, and supply a factor to disprove primality.

How to check my reasoning

Write down the conditions first. Show one calculation or rejected case, and check that your result satisfies every condition.

Mission 10

Exit ticket

Complete Missions 1–8, earn 8/8 in the workshop, and earn 5/5 here to unlock your certificate. The optional reflection is not automatically graded.

Not complete

1. A prime has exactly how many positive divisors?

2. How should 0 and 1 be classified?

3. Is 97 prime or composite?

4. Is 121 prime or composite?

5. What is the largest prime you need to test as a possible divisor of 113?

Exit score0 / 5

Optional reflection — not automatically graded

Certificate of completion

Prime & Composite Number Detective

Grade 5 Mathematician

has completed Lesson 17.1 and demonstrated accurate use of definitions, factor pairs, square-root primality tests, the sieve, and prime references.

Teaching notes

The original candidate list and prime-reference endpoints are preserved.The square-root proof, generated sieve, explicit factor witnesses, searchable table, feedback, workshop, and exit ticket are added instructional scaffolds.

Need a hint? Start here

For the new question, compare 7² and 11² with 113. Which primes remain below the boundary?

How to check my reasoning

Explain your method in the reflection box. The checker grades the answer; your explanation is for you to review.