Mr. Sim has some pencils. If he ties them in bundles of 8, he will have 4 extra pencils. If he ties them in bundles of 9, he would be short of 2 pencils. What is the smallest possible number of pencils Mr. Sim has?
Multiples of 8: 8, 16, 24, 32, 40, 48
Multiples of 8 (+4): 12, 20, 28, 36, 44, 52
Multiples of 9: 9, 18, 27, 36, 45, 54
Multiples of 9 (-2): 7, 16, 25, 34, 43, 52
Smallest possible number of pencils that Mr. Sim has = 52
Answer(s): 52