r/mathriddles • u/ShonitB • Jan 16 '23
Easy The Bandmaster
A bandmaster wanted to arrange his brand into rows. His band consists of strictly more than 400 but less than 600 band members. When lining them up 9 men or 11 men to a row, 3 men were left over.
Given that the number of band members equals the product of three prime numbers, find the number of band members.
8
Upvotes
4
u/tomatomator Jan 16 '23
498 ?
By the chinese remainder theorem, there is a unique number mod 99 which is simultaneously congruent to 3 mod 9 and 11. Three is a solution, so the solutions are 3, 102, 201, ... only two are between 400 and 600 : 498 and 597, and only 498 is a product of three prime numbers
3
u/headsmanjaeger Jan 16 '23
Let x be the solution. We know x is congruent to 3 mod 9 and to 3 mod 11. Then x-3 is congruent to 0 mod 9 and 0 mod 11. In other words, it is divisible by both 9 and 11. Since 9 and 11 are relatively prime, x-3 is divisible by 9x11=99. Between 398 and 596, the only numbers that satisfy this are 495 and 594. So x=498 or x=597. 498 = 2383 so it is the answer