Placement AptitudeHardTCS NQT · Infosys
How many integers from 1 to 1000 have digits that add up to 9?
- A. 45
- B. 54
- C. 55
- D. 66
Correct answer: C. 55
Write the numbers 1–999 as three-digit strings abc: a + b + c = 9 has C(11, 2) = 55 solutions, none needing a digit above 9, and 000 is not among them. 1000 has digit sum 1. So 55.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- What is the smallest positive integer that has exactly 12 positive divisors?
- How many zeros are there at the end of the product 101 × 102 × 103 × … × 200?
- How many points with integer coordinates lie on the circle x² + y² = 25?
- If 3ˣ = 5 and 5ʸ = 27, what is the value of xy?
- For how many integers x is 2^(x²) ≤ 2^(2x + 3)?
- What is the minimum value of |x − 2| + |x − 5| + |x − 9| over all real x?