Find the remainder of a large number modulo n by using the repeating cycle

Grade 7 · Discrete math

A printable worksheet with 12 problems and an answer key. 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.

Find the remainder of a large number modulo n by using the repeating cycle

Grade 7 · Discrete math

Name ____________________
Date ______________
  1. 1.
    A row of flags repeats the pattern A, B, C, D, E over and over. What is the 92nd flag?
    DBAC
  2. 2.
    A row of flags repeats the pattern A, B, C, D, E over and over. What is the 365th flag?
    EABC
  3. 3.
    A row of tiles repeats the pattern star, moon, sun, cloud over and over. What is the 244th tile?
    moonsuncloudstar
  4. 4.
    A row of tiles repeats the pattern star, moon, sun, cloud over and over. What is the 291st tile?
    mooncloudsunstar
  5. 5.
    A row of lights repeats the pattern on, off, blink over and over. What is the 201st light?
    onoffblink
  6. 6.
    A row of beads repeats the pattern red, blue, green over and over. What is the 217th bead?
    greenredblue
  7. 7.
    A row of tiles repeats the pattern star, moon, sun, cloud over and over. What is the 56th tile?
    cloudstarmoonsun
  8. 8.
    A row of beads repeats the pattern red, blue, green over and over. What is the 142nd bead?
    redbluegreen
  9. 9.
    A row of beads repeats the pattern red, blue, green over and over. What is the 159th bead?
    bluegreenred
  10. 10.
    A row of beads repeats the pattern red, blue, green over and over. What is the 349th bead?
    greenredblue
  11. 11.
    A row of tiles repeats the pattern star, moon, sun, cloud over and over. What is the 259th tile?
    cloudsunstarmoon
  12. 12.
    A row of tiles repeats the pattern star, moon, sun, cloud over and over. What is the 193rd tile?
    moonsuncloudstar
rabbithole.school/math-worksheets/find-the-remainder-of-a-large-number-modulo-n-by-using-the-repeatingSet 1

Answer key

Find the remainder of a large number modulo n by using the repeating cycle · set 1

  1. 1. B
  2. 2. E
  3. 3. cloud
  4. 4. sun
  5. 5. blink
  6. 6. red
  7. 7. cloud
  8. 8. red
  9. 9. green
  10. 10. red
  11. 11. sun
  12. 12. star

About this skill

If a row of flags repeats A, B, C, D, E, the 92nd flag is found by dividing 92 by 5, which leaves a remainder of 2, so it is B. A remainder of 0 means the last flag in the pattern, so the 365th is E. Each problem repeats a pattern of 3, 4 or 5 items, such as beads or tiles, and asks for a far-off position. It builds on remainders on a clock of size n. Computing a GCD with the Euclidean algorithm comes next.

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

What comes next