GATE Computer ScienceHardGATE CSE · NIELIT
How many integers from 1 to 2000 inclusive are divisible by none of 3, 5, 7 and 11?
- A. 819
- B. 831
- C. 852
- D. 891
Correct answer: B. 831
Inclusion–exclusion over 3, 5, 7, 11 on 1..2000 (period 1155, φ-density (2/3)(4/5)(6/7)(10/11) ≈ 0.4156) gives 831.
More Discrete Mathematics questions
- How many of the 256 assignments to x₁, …, x₈ satisfy all of: x₁ → x₂, x₂ → x₃, x₃ → x₄, x₅ → x₆, x₆ → x₇, x₇ → x₈, x₄ → ¬x₅ and x₈ → x₁?
- A Boolean function f(x, y, z) is monotone if a ≤ b componentwise implies f(a) ≤ f(b). How many monotone functions satisfy f(1, 0, 0) = 0…
- A Boolean function f of four variables is self-dual if f(x̄₁, x̄₂, x̄₃, x̄₄) = ¬f(x₁, x₂, x₃, x₄) for every input, and monotone if a ≤ b…
- Out of the 16 binary Boolean operators, how many are BOTH commutative and associative?
- Which of the following sets of connectives are functionally complete? I. {→, ⊥} II. {↔, ⊕} III. {→, ⊕} IV. {∧, ∨, →} V. {↛, ⊤} (↛ is 'p…
- Which of the following sets of connectives are functionally complete (no constants may be used unless they can be built from the…