Placement AptitudeVery hardCAT · Goldman Sachs aptitude
What is the remainder when 28! is divided by 31?
- A. 16
- B. 15
- C. 30
- D. 1
Correct answer: B. 15
By Wilson's theorem 30! ≡ −1 (mod 31). 30! = 28! × 29 × 30 ≡ 28! × (−2)(−1) = 2 × 28!, so 2 × 28! ≡ −1 ≡ 30 and 28! ≡ 15 (since 2 × 15 = 30). 16 is what you get by dropping the minus sign (2⁻¹ ≡ 16).
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many integers between 1000 and 3000 leave remainders 2, 3 and 4 when divided by 5, 7 and 9 respectively?
- What is the sum of the digits of 10⁵⁰ − 50?
- In how many ways can 15 be written as x + y + z, where x, y, z are integers from 1 to 7 and order matters?
- How many integers x from −10 to 10 satisfy (x + 3)(x − 4)/(x − 6) ≥ 0?
- What is the minimum value of (x² + 5)/√(x² + 4) over all real x?
- Let N = 100!. What is the value of 1/log₂ N + 1/log₃ N + 1/log₄ N + … + 1/log₁₀₀ N?