Knaph

Number Machines and Patterns22 of 911 min read

Number Machines

Imagine a machine with a funnel on top. You drop in a number. The machine hums, and a new number rolls out at the bottom. What is the machine doing?

A machine with a rule

Every number machine follows one rule. The rule is written on its screen.

This machine's rule is + 5. Drop in 3, and it adds 5.

3 + 5 = 8, so 8 comes out.

The number you drop in is the input. The number that comes out is the output.

A blue number machine with + 5 on its screen. The number 3 goes in at the top funnel and the number 8 comes out on the tray at the bottom.

Keep a table

Drop in more numbers and write down what comes out.

2 gives 7. 4 gives 9. 10 gives 15.

A table like this is a record of the machine.

Look down the table. Every output is 5 more than its input. That is how you can find a machine's rule when nobody tells you.

An in and out table for the + 5 machine. In: 2, 4, 10, 20. Out: 7, 9, 15, 25. A green arrow labeled + 5 goes from each input to its output.

Try it at home

  1. Be the machine! Ask someone to say a number.
  2. Add 5 in your head and say the output.
  3. Swap jobs. Can you guess their secret rule from three tries?

Words in this lesson

  • input - the number that goes into a machine.
  • output - the number that comes out.

Big idea

A number machine does the same thing to every number that goes in.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.