Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

Each pack of hot dogs contains 10 hot dogs (no buns), but each pack of hot dog buns contains 8 buns. Phil buys a number of these packs for a barbecue. After the barbecue, Phil finds that he has 4 hot dogs left over. What is the SECOND smallest number of packs of hot dogs he could have bought?
Solution
Let be the number of packs of hot dogs that Phil bought. Then , which reduces to . This congruence tells us that for some integer , or . The second smallest positive integer of this form is .
Final answer
6