Five persons P, Q, R, S and T are sitting in a row not necessarily in the same order. Q and R are separated by one person, and S should not be seated adjacent to Q. The number of distinct seating arrangements possible is:
Solution :
The correct option is 16.
Let us find the number of distinct seating arrangements for five persons P, Q, R, S, and T sitting in a row under the given conditions:
1. Q and R are separated by exactly one person.
2. S must not be seated adjacent to Q.
We have 5 positions in a row, which we can label from 1 to 5: _ _ _ _ _.
First, let us place Q and R. Since they are separated by exactly one person, the distance between their positions is 2. The possible pairs of positions for {Q, R} are:
- Positions 1 and 3
- Positions 2 and 4
- Positions 3 and 5
For each of these pairs, Q and R can swap places with each other. This gives 2 possibilities (either Q is on the left and R is on the right, or R is on the left and Q is on the right). Thus, we analyze the three cases for the positions of Q and R:
Case 1: Q and R occupy positions 1 and 3 (in some order)
Subcase 1a: Q is at 1, R is at 3.
The remaining positions to be filled by P, S, and T are 2, 4, and 5.
The condition states S cannot be adjacent to Q (position 1). Therefore, S cannot occupy position 2.
This means S must occupy either position 4 or position 5 (2 choices).
Once S is placed, the remaining 2 positions can be filled by P and T in 2! = 2 ways.
So, for Q at 1 and R at 3, there are 2 × 2 = 4 arrangements.
Subcase 1b: R is at 1, Q is at 3.
The remaining positions are 2, 4, and 5.
S cannot be adjacent to Q (position 3). Thus, S cannot occupy position 2 or position 4.
This leaves only position 5 for S (1 choice).
The remaining 2 positions (2 and 4) can be filled by P and T in 2! = 2 ways.
So, for R at 1 and Q at 3, there are 1 × 2 = 2 arrangements.
Total for Case 1 = 4 + 2 = 6 arrangements.
Case 2: Q and R occupy positions 2 and 4 (in some order)
Subcase 2a: Q is at 2, R is at 4.
The remaining positions are 1, 3, and 5.
S cannot be adjacent to Q (position 2). Thus, S cannot occupy position 1 or position 3.
This leaves only position 5 for S (1 choice).
The remaining 2 positions (1 and 3) can be filled by P and T in 2! = 2 ways.
So, for Q at 2 and R at 4, there are 1 × 2 = 2 arrangements.
Subcase 2b: R is at 2, Q is at 4.
The remaining positions are 1, 3, and 5.
S cannot be adjacent to Q (position 4). Thus, S cannot occupy position 3 or position 5.
This leaves only position 1 for S (1 choice).
The remaining 2 positions (3 and 5) can be filled by P and T in 2! = 2 ways.
So, for R at 2 and Q at 4, there are 1 × 2 = 2 arrangements.
Total for Case 2 = 2 + 2 = 4 arrangements.
Case 3: Q and R occupy positions 3 and 5 (in some order)
This case is symmetrical to Case 1.
Subcase 3a: Q is at 5, R is at 3.
S cannot be adjacent to Q (position 5), so S cannot occupy position 4.
S must occupy position 1 or position 2 (2 choices).
The remaining 2 positions can be filled by P and T in 2! = 2 ways.
So, for Q at 5 and R at 3, there are 2 × 2 = 4 arrangements.
Subcase 3b: R is at 5, Q is at 3.
S cannot be adjacent to Q (position 3), so S cannot occupy position 2 or position 4.
S must occupy position 1 (1 choice).
The remaining 2 positions can be filled by P and T in 2! = 2 ways.
So, for R at 5 and Q at 3, there are 1 × 2 = 2 arrangements.
Total for Case 3 = 4 + 2 = 6 arrangements.
Adding the arrangements from all cases together:
Total arrangements = 6 (Case 1) + 4 (Case 2) + 6 (Case 3) = 16.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
A comprehensive SSC MTS 2026 Mock Test 4 designed to help aspirants strengthen their preparation and improve their performance for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all major sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It includes a balanced combination of conceptual, analytical, and exam-oriented multiple-choice questions aligned with the latest SSC MTS syllabus and exam pattern. Ideal for practice, revision, self-evaluation, accuracy improvement, speed enhancement, and effective time management, this mock test helps candidates assess their exam readiness, identify improvement areas, and build confidence for the SSC MTS 2026 examination
A comprehensive SSC MTS 2026 Mock Test 3 designed to help aspirants prepare thoroughly for the Staff Selection Commission Multi-Tasking Staff examination. This mock test covers all important sections including Numerical and Mathematical Ability, Reasoning Ability and Problem Solving, General Awareness, and English Language and Comprehension. It features a carefully curated set of multiple-choice questions that test conceptual understanding, logical reasoning, problem-solving skills, speed, and accuracy in accordance with the latest SSC MTS exam pattern. Ideal for practice, revision, self-assessment, performance evaluation, and time management improvement, this mock test enables candidates to identify strengths and weaknesses while building confidence for the SSC MTS 2026 examination.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.