A fast food restaurant sells dimsums in boxes of 7 and 3. What’s the greatest number of dimsums a person cannot buy? Generalize it for p and q where p and q are relatively prime.
Source: Alok Goyal (Stellaris VP, Ex-Helion VC) puzzle blog
11 (eleven) is the answer All numbers above it will be on (at least)one of the following lists: ...12,15,18,...no boxes of 7. ...13,16,19,...one box of 7. 14,17,20...-2 boxes of 7.
11 -yok!
Comments: (
You must be logged in to post comments.)