Combination · Discrete Mathematics
29 questions · asked in 16 of 27 years (2000–2026)
MCQ 19 · NAT 101-mark 21 · 2-mark 8
2000Questions per year2026
Questions 16–20 of 29
Let S={1,2,3....,m},m 3. Let be subsets of S each of size 3.
Define a function f from S to the set of natural numbers as, f(i) is the number of sets that contain the element i. That is . Then
Answer: (B)
Use double counting. Here is the number of sets that contain element . So counts every pair (element , set ) with .
Count the same pairs by sets instead. Each has exactly 3 elements, so it appears in exactly 3 such pairs. There are sets, so the total is .
This holds for any choice of the subsets, so need not equal . The sum depends on , not on , so options A and C are wrong in general.
Answer: (B)
Count the same pairs by sets instead. Each has exactly 3 elements, so it appears in exactly 3 such pairs. There are sets, so the total is .
This holds for any choice of the subsets, so need not equal . The sum depends on , not on , so options A and C are wrong in general.
Answer: (B)
A line L in a circuit is said to have a stuck-at-0 fault if the line permanently has a logic value 0. Similarly a line L in a circuit is said to have a stuck-at-1 fault if the line permanently has a logic value 1. A circuit is said to have a multiple stuck-at fault if one or more lines have stuck at faults. The total number of distinct multiple stuck-at faults possible in a circuit with N lines is
Answer: (B)
Each of the N lines is in one of 3 states: fault-free, stuck-at-0, or stuck-at-1. So the total number of combinations of states is .
A multiple stuck-at fault needs one or more lines at fault. Exactly one combination has every line fault-free, so remove it:
.
Answer: (B)
A multiple stuck-at fault needs one or more lines at fault. Exactly one combination has every line fault-free, so remove it:
.
Answer: (B)
What is the minimum number of ordered pairs of non-negative numbers that should be chosen to ensure that there are two pairs (a,b) and (c,d) in the chosen set such that
a c mod 3 and b d mod 5
a c mod 3 and b d mod 5
Answer: (C)
Two pairs (a, b) and (c, d) match when and , that is, when they have the same residue pair .
has 3 possible values (0, 1, 2) and has 5 possible values (0 to 4), so there are residue classes.
15 pairs are not enough: choosing one pair from each class gives 15 pairs with no two in the same class. With 16 pairs, two must fall in the same class (pigeonhole principle), and those two satisfy both conditions.
So the minimum is 16.
Answer: (C)
has 3 possible values (0, 1, 2) and has 5 possible values (0 to 4), so there are residue classes.
15 pairs are not enough: choosing one pair from each class gives 15 pairs with no two in the same class. With 16 pairs, two must fall in the same class (pigeonhole principle), and those two satisfy both conditions.
So the minimum is 16.
Answer: (C)
Let , where p and q are distinct prime numbers. How many numbers m satisfy and gcd(m,n)=1?
Note that gcd(m,n) is the greatest common divisor of m and n.
Note that gcd(m,n) is the greatest common divisor of m and n.
Answer: (D)
Here with distinct primes. exactly when is divisible by neither nor . So count all numbers and remove the ones divisible by or (inclusion-exclusion).
Multiples of from 1 to :
Multiples of :
Multiples of both, that is of :
Count .
Check with : , the numbers 1, 5, 7, 11 qualify, and .
Answer: (D)
Multiples of from 1 to :
Multiples of :
Multiples of both, that is of :
Count .
Check with : , the numbers 1, 5, 7, 11 qualify, and .
Answer: (D)
In how many ways can we distribute 5 distinct balls, in 5 distinct cells, such that Ball is not in cell and each cell contains exactly one ball?
Answer: (A)
This is counting derangements of 5 items: arrangements where no ball is in its own cell . Count all arrangements, then remove those with at least one ball in its own cell, using inclusion and exclusion.
Let be the set of arrangements with in .
- One fixed ball: , since the other 4 balls go in the other 4 cells in any order. There are 5 such sets.
- Two fixed balls: , with pairs.
- Three fixed: , with triples. Four fixed: , with choices. Five fixed: , with choice.
Arrangements with at least one ball in its own cell:
Derangements .
Answer: (A)
Let be the set of arrangements with in .
- One fixed ball: , since the other 4 balls go in the other 4 cells in any order. There are 5 such sets.
- Two fixed balls: , with pairs.
- Three fixed: , with triples. Four fixed: , with choices. Five fixed: , with choice.
Arrangements with at least one ball in its own cell:
Derangements .
Answer: (A)
Keep practising