Eight persons A, B, C, D, E, F, G, and H live on different floors of an eight-floor building, numbered 1 to 8 from bottom to top. One person lives on each floor but not necessarily in the given order.
G lives five floors above C. As many floors are there below C’s floor as above B’s floor. Three floors are there between the floors of B and D. F lives two floors away D. E does not live above H. A doesn’t live on prime numbered floor.
How many persons live between G and C?
Correct Answer :
More than three
Solution :
The correct answer is More than three.
Let us solve the puzzle step-by-step to find the unique arrangement of the eight persons (A, B, C, D, E, F, G, and H) on the eight floors (numbered 1 to 8 from bottom to top).
Step 1: Analyze the position of G and C
We are given that G lives five floors above C.
This means:
Since there are only 8 floors, the possible pairs for (C, G) are:
- Case 1: C lives on floor 1, and G lives on floor 6.
- Case 2: C lives on floor 2, and G lives on floor 7.
- Case 3: C lives on floor 3, and G lives on floor 8.
Step 2: Use the relation between C and B
We are given: "As many floors are there below C’s floor as above B’s floor."
- The number of floors below C is:
- The number of floors above B is:
- Setting them equal:
Let's test our three cases:
- Case 1: If C = 1, then B = 8. (Since G = 6, this is possible)
- Case 2: If C = 2, then B = 7. But G = 7 as well, which is a contradiction because only one person lives on each floor. So, Case 2 is invalid.
- Case 3: If C = 3, then B = 6. (Since G = 8, this is possible)
Step 3: Analyze Case 1 (C = 1, G = 6, B = 8)
- "Three floors are there between the floors of B and D."
Since B = 8, D must be on floor 4 (floans 7, 6, 5 are between B and D).
- "F lives two floors away from D."
This means F is either on floor 2 or 6. Since G is already on floor 6, F must be on floor 2.
- Currently placed: C = 1, F = 2, D = 4, G = 6, B = 8.
- The remaining vacant floors are: 3, 5, and 7.
- "A doesn’t live on a prime numbered floor."
However, all remaining floors (3, 5, and 7) are prime numbers. This leaves no valid floor for A. Thus, Case 1 is invalid.
Step 4: Analyze Case 3 (C = 3, G = 8, B = 6)
- "Three floors are there between the floors of B and D."
Since B = 6, D must be on floor 2 (floors 5, 4, 3 are between B and D).
- "F lives two floors away from D."
Since D = 2, F must be on floor 4 (as floor 0 does not exist).
- Currently placed: D = 2, C = 3, F = 4, B = 6, G = 8.
- The remaining vacant floors are: 1, 5, and 7.
- "A doesn’t live on a prime numbered floor."
Since 5 and 7 are prime numbers and 1 is not a prime number, A must live on floor 1.
- The remaining vacant floors for E and H are 5 and 7.
- "E does not live above H."
This means E must live below H. Therefore, E lives on floor 5 and H lives on floor 7.
Final Arrangement:
Floor 8: G
Floor 7: H
Floor 6: B
Floor 5: E
Floor 4: F
Floor 3: C
Floor 2: D
Floor 1: A
Conclusion:
G lives on floor 8 and C lives on floor 3. The floors between them are 4, 5, 6, and 7 (occupied by F, E, B, and H respectively).
Thus, there are exactly 4 persons living between G and C, which is More than three.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.