MathDB
How many students took the math contest?

Source: NMTC 2019 Junior P5

November 2, 2019
number theory

Problem Statement

A math contest consists of 99 objective type questions and 66 fill in the blanks questions. From a school some number of students took the test and it was noticed that all students had attempted exactly 1414 out of 1515 questions. Let O1,O2,,O9O_1, O_2, \dots , O_9 be the nine objective questions and F1,F2,,F6F_1, F_2, \dots , F_6 be the six fill inthe blanks questions. Let aija_{ij} be the number of students who attemoted both questions OiO_i and FjF_j. If the sum of all the aija_{ij} for i=1,2,,9i=1, 2,\dots , 9 and j=1,2,,6j=1, 2,\dots , 6 is 972972, then find the number of students who took the test in the school.