Ernesto is buying nuts and bolts at a local hardware store. The store sells nuts in packs of 3 and bolts in packs of 12. If Ernesto wishes to buy the same number of nuts and bolts, what is the smallest number of nuts that he can buy?

3 is a factor of 12 ... so he can buy 12 nuts (4 packs)