Placement AptitudeVery hardProduct company OA · CAT level

For how many positive integers n ≤ 1000 is n² + n + 1 divisible by 91?

  1. A. 22
  2. B. 44
  3. C. 11
  4. D. 40

Correct answer: B. 44

91 = 7 × 13. Mod 7, n² + n + 1 ≡ 0 has roots n ≡ 2, 4. Mod 13 it has roots n ≡ 3, 9. By the Chinese Remainder Theorem each of the 2 × 2 combinations gives one residue mod 91: n ≡ 9, 16, 74, 81. In 1…1000 there are 10 full blocks of 91 (up to 910) giving 40, and in 911…1000 (residues 1…90) all four residues occur again, so 44. 40 forgets the last partial block; 22 counts only two residues, as if a quadratic could have only two roots modulo a composite number.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic