Free online math practice

Prime and composite Practice

Choose prime, composite or neither for numbers from 1 to 100.

Start practicingPrime and composite

  • Free to practice.
  • No account required.
  • Progress stays on this device.

What you’ll practice

A prime has exactly two positive factors. The number 1 is neither prime nor composite.

Where this helps

Recognizing how numbers factor.

Before you start

Try the examples to see what you’ll practice. Check the answer form and any stated conditions.

Explainers

Spot a composite number

102 = 2 × 51, so 102 is composite.

A whole number greater than 1 is composite if you can split it into two whole-number factors that are both greater than 1. One such factor pair is enough.

Check for a prime number

For 101, try dividing by 2, 3, 5 and 7. None divides exactly. The next prime is 11, and 11 × 11 is bigger than 101, so you can stop: 101 is prime.

A prime has exactly two positive factors, 1 and itself. Test possible prime factors only while their square is no bigger than your number.

Why one is neither

1 has only one positive factor: 1.

A prime needs exactly two positive factors. A composite needs more than two. So 1 is neither prime nor composite.

Try a few examples

Real practice. Real progress.

Example 1 of 4

Choose an answer.

Grades and courses that include this topic

Related practice

Start practicingPrime and composite

  • Free to practice.
  • No account required.
  • Progress stays on this device.