How do you find all the factor pairs of 40?

Write down 40 and 1. Divide by two. Write down 20 and 2. Divide by two. Write down 10 and 4. Divide by two. Write down 5 and 8. Stop.

(40,1)(20,2)(10,4)(8,5)