We are given that the product of the floors on which D and B live is 15.
Let $F_D$ be the floor number for D and $F_B$ be the floor number for B.
The condition is $F_D \times F_B = 15$. Since floors are numbered 1 to 6, the only possible pairs of floors for D and B are {3, 5}.
This means either ($F_D = 3, F_B = 5$) or ($F_D = 5, F_B = 3$).
We are given that the sum of the floors on which C and B live is 7.
Let $F_C$ be the floor number for C.
The condition is $F_C + F_B = 7$.
Now, we examine the two possibilities for $F_B$ from the previous step:
A lives immediately above F. Let $F_A$ be the floor number for A.
The condition is $F_A = F_F + 1$, where $F_F$ is the floor number for F.
This implies A and F must live on consecutive floors.
Let's evaluate the two cases derived from the floor sum clue:
The only valid case determined is Case 1, where $F_B = 3$ and $F_F = 1$.
We need to find the sum of the floors on which B and F live.
Sum = $F_B + F_F = 3 + 1 = 4$.
Read the following information carefully and answer the question that follows.
Five coaching classes — P, Q, R, S, and T — are located on five different floors numbered 1, 2, 3, 4, and 5, but not necessarily in the same order. Each coaching class teaches only one of the following subjects: Physics, Chemistry, Mathematics, Biology, and English, but not necessarily in the same order.
Based on the above information, determine on which floor Mathematics is taught.