When it is raining, peacocks dance.' Based only on this sentence, which one of the following options is necessarily true?
The question asks what is necessarily true based on the statement: "When it is raining, peacocks dance."
This is a conditional statement. Let:
The original statement can be written in logical notation as: $P \rightarrow Q$ (If P, then Q).
This means that rain is a sufficient condition for peacocks to dance. However, it does not say it's the only condition (necessary condition).
Let's examine each option based on the premise $P \rightarrow Q$:
Based on the logical equivalence between a statement and its contrapositive, the statement "When peacocks are not dancing, it is not raining" ($\neg Q \rightarrow \neg P$) is necessarily true if the original statement "When it is raining, peacocks dance" ($P \rightarrow Q$) is true.
Consider a linear arrangement of seven bulbs, each of which can be in the ON or OFF states. The initial configuration of the bulbs is shown in the figure. In every Step, the states of the bulbs are changed based on the following rules:
The state of bulbs at the end of Step 1 and Step 2 are also shown in the figure.
The number of bulbs which are ON at the end of Step 8 is ______

Consider a five-digit number PQRST that has distinct digits P, Q, R, S and T, and satisfies the following conditions:
$P < Q$
$S > P > T$
$R < T$
If integers 1 through 5 are used to construct such a number, the value of P is: