The number students in each room = HCF of 70,98 and 126 =14 In each room , maximum 14 students can be seated. Total number students = 70 + 98 +126 =294 Number of rooms required = 294/14 =21
The least number which when divided by 4,5,6,8 and 10 is the LCM of these numbers. But each time to get 3 as remainder, we have to add the remainder 3 to the obtained LCM.LCM of (4, 5, 6, 8, 10)+ 3=120+3=123