Let's analyze the given information step-by-step to determine the status (occupied or vacant) of each house.
The formula for the quoted price (QP) is:
QP = (Base Price) + 5 × (Road Adjacency Value) + 3 × (Neighbour Count)
Base Price (BP) is 10 lakhs (no parking) or 12 lakhs (with parking).
First, let's determine the fixed Road Adjacency Values (RAV) for all houses:
Block XX: A1(0), B1(0), C1(1), A2(1), B2(1), C2(2)
Block YY: D1(1), E1(0), F1(0), D2(2), E2(1), F2(1)
Analysis of Block YY:
- From Clue 4, houses E1 and E2 are vacant.
- From Clue 2, the minimum QP in Block YY is Rs. 15 lakhs, and one such house is in Column E. So, either QP(E1) = 15 or QP(E2) = 15.
If QP(E2) = 15:
QP(E2) = BP(E2) + 5×RAV(E2) + 3×NC(E2) = BP(E2) + 5×1 + 3×NC(E2) = 15.
This gives BP(E2) + 3×NC(E2) = 10. The only integer solution is BP(E2) = 10 (no parking) and NC(E2) = 0.
NC(E2) = 0 means its neighbours in Block YY (D2 and F2) must be vacant.
However, Clue 5 states that Column-D and Column-F must each have at least one occupied house. Since D2 and F2 are vacant, D1 and F1 must be occupied.
This contradicts Clue 3, which states there is only one occupied house in Row-1 of Block YY. Thus, this case is impossible.
If QP(E1) = 15: QP(E1) = BP(E1) + 5×RAV(E1) + 3×NC(E1) = BP(E1) + 5×0 + 3×NC(E1) = 15.
This gives BP(E1) + 3×NC(E1) = 15. The only integer solution is BP(E1) = 12 (with parking) and NC(E1) = 1.
- So, we have established:
E1 is vacant, has parking, and has exactly one occupied neighbour in Block YY.
The neighbours of E1 are D1 and F1. So, exactly one of {D1, F1} is occupied. This is consistent with Clue 3.
From Clue 6, E1 is the only house with parking in Block YY. All other vacant houses in YY have BP = 10.Combining with Clue 5 (at least one occupied house in Col-D and Col-F), we have two possibilities for the set of occupied houses in YY: Case A: {D1, F2} are occupied. (F1 is vacant, so F2 must be occupied).
Case B: {D2, F1} are occupied. (D1 is vacant, so D2 must be occupied).Let's check these cases against the minimum price condition (min QP in YY is 15). Case A (Occupied: {D1, F2}): The vacant houses are {D2, E1, E2, F1}. Let's check QP(F1).
QP(F1) = BP(F1) + 5×RAV(F1) + 3×NC(F1) = 10 + 5×0 + 3×1 (since F2 is occupied) = 13.
Since 13 < 15, this contradicts the minimum price condition. So, Case A is impossible.
Case B (Occupied: {D2, F1}): The vacant houses are {D1, E1, E2, F2}.
QP(E1) = 15.
QP(D1) = 10 + 5×1 + 3×1 (neighbour D2 is occ) = 18.
QP(E2) = 10 + 5×1 + 3×1 (neighbour D2 is occ) = 18.
QP(F2) = 10 + 5×1 + 3×1 (neighbour F1 is occ) = 18.
The minimum price is 15. This case is valid.Therefore, the status of houses in Block YY is: Occupied: D2, F1
Vacant: D1, E1, E2, F2Analysis of Block XX:
From Clue 1, the maximum QP in Block XX is Rs. 24 lakhs. QP = BP + 5×RAV + 3×NC = 24.Let's find which house could have this price. If RAV=2 (House C2): BP + 5×2 + 3×NC = 24 => BP + 3×NC = 14. No integer solution.
If RAV=0 (Houses A1, B1): BP + 3×NC = 24. If BP=12, NC=4 (impossible as max NC is 3 for B1). If BP=10, 3NC=14 (impossible).
If RAV=1 (Houses A2, B2, C1): BP + 5×1 + 3×NC = 24 => BP + 3×NC = 19. The only integer solution is BP=10 and NC=3.
- A house with RAV=1 and a potential NC of 3 is B2 (neighbours A2, B1, C2). Houses A2 and C1 have a maximum NC of 2.
- Therefore, the house with QP=24 must be B2. This implies:
B2 is vacant.
B2 has no parking (BP=10).
NC(B2) = 3, which means its neighbours A2, B1, and C2 are all occupied.This configuration for Block XX (Occupied: {A2, B1, C2}) is consistent with Clue 3, as there is exactly one occupied house (B1) in Row-1 of Block XX.Therefore, the status of houses in Block XX is: Occupied: A2, B1, C2
Vacant: A1, C1, B2Final Conclusion:We need to find the number of vacant houses in Row-2. The houses in Row-2 are A2, B2, C2, D2, E2, F2.
Based on our derived status for each house:
A2: Occupied
B2: Vacant
C2: Occupied
D2: Occupied
E2: Vacant
The vacant houses in Row-2 are B2, E2, and F2. The total count is 3.