math
posted by charlie on .
a box contains more than 25 but less than 40 balls.when we counted by 3 there are 1 left over,when we counted by 5 there are 2 left over.how many balls are there in the box ? please explain how you work it out,thanks

there aren't that many multiples of 5 between 25 and 40: 3 and ,35
it's easy to check that 37 = 7*5+2 = 12*3+1