Find the least number of colors needed to color a small graph's vertices

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.

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 least number of colors needed to color a small graph's vertices

Grade 7 · Discrete math

Name ____________________
Date ______________
  1. 1.
    What is the fewest colors needed so no two adjacent vertices of a tree with 3 vertices share a color?
  2. 2.
    What is the fewest colors needed so no two adjacent vertices of a triangle share a color?
  3. 3.
    What is the fewest colors needed so no two adjacent vertices of a cycle graph with 5 vertices in a ring share a color?
  4. 4.
    What is the fewest colors needed so no two adjacent vertices of a cycle graph with 7 vertices in a ring share a color?
  5. 5.
    What is the fewest colors needed so no two adjacent vertices of a cycle graph with 8 vertices in a ring share a color?
  6. 6.
    What is the fewest colors needed so no two adjacent vertices of a complete graph on 6 vertices share a color?
  7. 7.
    What is the fewest colors needed so no two adjacent vertices of a complete graph on 5 vertices share a color?
  8. 8.
    What is the fewest colors needed so no two adjacent vertices of a tree with 5 vertices share a color?
  9. 9.
    What is the fewest colors needed so no two adjacent vertices of a tree with 4 vertices share a color?
  10. 10.
    What is the fewest colors needed so no two adjacent vertices of a tree with 2 vertices share a color?
  11. 11.
    What is the fewest colors needed so no two adjacent vertices of a complete graph on 4 vertices share a color?
  12. 12.
    What is the fewest colors needed so no two adjacent vertices of a tree with 6 vertices share a color?
rabbithole.school/math-worksheets/find-the-least-number-of-colors-needed-to-color-a-small-graph-sSet 1

Answer key

Find the least number of colors needed to color a small graph's vertices · set 1

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

About this skill

A triangle needs 3 colors because each vertex touches the other two, while a tree with 3 vertices needs only 2. Each problem asks for the fewest colors for a small tree, a ring of 3 to 8 vertices, or a complete graph where every vertex touches every other and so needs one color apiece. Children usually meet this after deciding whether a graph is bipartite, which means two colors are enough.

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