GATE Computer ScienceModerateGATE CSE · UGC NET
How many integers from 1 to 1000 are divisible by exactly two of the three numbers 4, 6 and 9?
- A. 76
- B. 84
- C. 92
- D. 100
Correct answer: B. 84
Counting pairwise common multiples (lcm 12, 36, 36) and removing those divisible by all three (multiples of 36) gives 84.
More Discrete Mathematics questions
- How many different partial orders (reflexive, antisymmetric, transitive relations) exist on the labelled set {1, 2, 3}?
- How many proper vertex colourings does the 5-cycle C₅ have when 3 colours are available?
- Let a₀ = 1, a₁ = 3 and aₙ = 3aₙ₋₁ − 2aₙ₋₂ for n ≥ 2. What is a₁₀?
- How many integers from 1 to 1000 are relatively prime to 30?
- How many automorphisms does the 3-dimensional hypercube graph Q₃ (8 vertices, 12 edges) have?
- A lattice path from (0, 0) to (6, 6) uses unit steps right or up and never goes above the line y = x. How many such paths are there?