Placement AptitudeHardInfosys SP · TCS NQT Advanced
For how many integers n from 1 to 100 is n² + n + 1 divisible by 7?
- A. 28
- B. 14
- C. 29
- D. 30
Correct answer: C. 29
Checking residues mod 7, n² + n + 1 ≡ 0 only for n ≡ 2 or 4. From 1 to 100 there are 15 numbers ≡ 2 (2 to 100) and 14 numbers ≡ 4 (4 to 95), so 29. Assuming 14 of each gives 28.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- How many divisors of N = 2⁵ × 3⁴ × 5³ leave remainder 1 when divided by 4?
- In how many ways can 105 be written as a sum of two or more consecutive positive integers?
- The decimal number 219 is written as 333 in base b. What is b?
- How many integers have exactly three digits in each of base 10, base 8 and base 6?
- Six years ago the average age of the 5 members of a family was 20 years. A child has since been born, and the average age of the 6 members…
- Three vessels hold milk and water in the ratios 2 : 1, 3 : 2 and 4 : 3. They are mixed in the volume ratio 1 : 2 : 3. What is the ratio of…