Step 1: Given numbers \( 1, 2, 3, \ldots, m \), arrange them so \( 1, 2, \ldots, r \) are neighbors.
Step 2: Consider \( 1, 2, \ldots, r \) as one block. This simplifies to arranging \( m - r + 1 \) items: the block and the other \( m - r \) numbers.
Step 3: The arrangements for these \( m - r + 1 \) objects is:
\[ (m - r + 1)! \]
Step 4: The \( r \) numbers within the block can be arranged in \( r! \) ways.
Step 5: Thus, the total arrangements equal the product:
\[ (m - r + 1)! \times r! \]
Conclusion:
The total arrangements with \( 1, 2, \ldots, r \) as neighbors is:
\[ (m - r + 1)! r! \]
If \(S=\{1,2,....,50\}\), two numbers \(\alpha\) and \(\beta\) are selected at random find the probability that product is divisible by 3 :
The probability of hitting the target by a trained sniper is three times the probability of not hitting the target on a stormy day due to high wind speed. The sniper fired two shots on the target on a stormy day when wind speed was very high. Find the probability that
(i) target is hit.
(ii) at least one shot misses the target. 