Placement AptitudeHardTCS Digital · Infosys SP
How many integers from 1 to 1000 (inclusive) are divisible by none of 2, 3, 5 and 7?
- A. 229
- B. 238
- C. 257
- D. 228
Correct answer: D. 228
Inclusion-exclusion over 2,3,5,7 gives 1000 - 500 - 333 - 200 - 142 + 166 + 100 + 71 + 66 + 47 + 28 - 33 - 23 - 14 - 9 + 4 = 228. Using 1000*(1/2)(2/3)(4/5)(6/7) = 228.57 and rounding gives the trap 229.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- If x + 1/x = 5, what is the value of x^5 + 1/x^5?
- How many ordered pairs (a, b) of positive integers satisfy lcm(a, b) = 360?
- A boat covers 24 km upstream and 36 km downstream in 6 hours, and 36 km upstream and 24 km downstream in 6.5 hours. How long will it take…
- In a 200 m race A beats B by 20 m, and in a 100 m race B beats C by 10 m. In a 400 m race, by how many metres does A beat C?
- A triangle has sides 13, 14 and 15. What is the distance between its incentre and circumcentre?
- What is the remainder when 1! + 2! + 3! + … + 99! is divided by 13?