Find the gap between consecutive primes in a range

Grade 7 · Discrete math

A printable worksheet with 12 problems and an answer key that shows the worked steps. Change the number of problems, mix in a related skill, or press “New set” for different numbers. Nothing to sign up for.

The link in your address bar makes this exact sheet again. Share it and everyone prints the same problems.

Make it about what your kid loves

An AI model can rewrite the 12 word problems on this sheet around a topic. The numbers, units and answers stay exactly the same, and we check every one before showing it. It runs on your own AI account, and a sheet costs about a cent.

A topic only, please, with no names. For grown-ups: we never ask anything about your child and store nothing. The topic and this sheet’s word problems go from this tab to the AI service you choose, and nowhere else.

OpenRouter is a service that sells AI model use. You sign in there, add a few dollars of credit if you have none, and approve a key with a $2 spending limit (you can change it). OpenRouter sends the bill to you. The key stays in this tab and is forgotten when you close or reload it.

Find the gap between consecutive primes in a range

Grade 7 · Discrete math

Name ____________________
Date ______________
  1. 1.
    What is the gap between the consecutive primes 31 and 37?
  2. 2.
    What is the gap between the consecutive primes 17 and 19?
  3. 3.
    What is the gap between the consecutive primes 73 and 79?
  4. 4.
    What is the gap between the consecutive primes 83 and 89?
  5. 5.
    What is the gap between the consecutive primes 3 and 5?
  6. 6.
    What is the gap between the consecutive primes 61 and 67?
  7. 7.
    What is the gap between the consecutive primes 41 and 43?
  8. 8.
    What is the gap between the consecutive primes 5 and 7?
  9. 9.
    What is the gap between the consecutive primes 11 and 13?
  10. 10.
    What is the gap between the consecutive primes 71 and 73?
  11. 11.
    What is the gap between the consecutive primes 79 and 83?
  12. 12.
    What is the gap between the consecutive primes 23 and 29?
rabbithole.school/math-worksheets/find-the-gap-between-consecutive-primes-in-a-rangeSet 1

Stuck? Start it together

The first steps are worked out. The last step, the one that gives the answer, is left for your child.

1. What is the gap between the consecutive primes 31 and 37?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 37 − 31: ?
2. What is the gap between the consecutive primes 17 and 19?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 19 − 17: ?
3. What is the gap between the consecutive primes 73 and 79?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 79 − 73: ?
4. What is the gap between the consecutive primes 83 and 89?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 89 − 83: ?
5. What is the gap between the consecutive primes 3 and 5?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 5 − 3: ?
6. What is the gap between the consecutive primes 61 and 67?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 67 − 61: ?
7. What is the gap between the consecutive primes 41 and 43?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 43 − 41: ?
8. What is the gap between the consecutive primes 5 and 7?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 7 − 5: ?
9. What is the gap between the consecutive primes 11 and 13?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 13 − 11: ?
10. What is the gap between the consecutive primes 71 and 73?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 73 − 71: ?
11. What is the gap between the consecutive primes 79 and 83?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 83 − 79: ?
12. What is the gap between the consecutive primes 23 and 29?
  1. The gap between two consecutive primes is how far apart they sit — subtract the smaller from the larger.
  2. Subtract 29 − 23: ?

Answer key

Find the gap between consecutive primes in a range · set 1

  1. 1. 6
  2. 2. 2
  3. 3. 6
  4. 4. 6
  5. 5. 2
  6. 6. 6
  7. 7. 2
  8. 8. 2
  9. 9. 2
  10. 10. 2
  11. 11. 4
  12. 12. 6

About this skill

Consecutive primes are primes with no other prime between them, and the gap is how far apart they are. 17 and 19 have a gap of 2, while 31 and 37 have a gap of 6 because 32 through 36 are all composite. Each problem names two consecutive primes below 90 and asks for the gap. It builds on deciding whether a number up to 200 is prime.

If this sheet is too hard, try one of the skills it builds on. If it’s easy, try what comes next.

What it builds on

About the worked steps

The steps page works each problem out except for its last step, the one that produces the answer. A stuck child can follow the start and finish it, so they still do the part that counts. The answer key has the answers for you.