Question:

Sam has forgotten his friend's seven-digit telephone number. He remembers the following: a) the first three digits are either 635 or 674, b) the number is odd, and c) the number nine appears once. If Sam were to use a trial and error process to reach his friend, what is the minimum number of trials he has to make before he can be certain to succeed?

Show Hint

The digit 9 does not occur in 635 or 674, so the single 9 must be among the last four digits. Count the valid last-four-digit blocks and multiply by 2.
Updated On: Nov 4, 2026
  • 10000
  • 3402
  • 2430
  • 3006
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Locate the single 9.
Neither 635 nor 674 contains a 9, so the only 9 in the number lies among the last four digits (positions 4 to 7). The last digit must be odd.

Step 2: Case 1: the 9 is the last digit.
The last digit 9 is odd, and positions 4, 5, 6 may be any digit except 9 (9 choices each): \(9^3 = 729\) ways.

Step 3: Case 2: the 9 is in position 4, 5 or 6.
Choose its position in 3 ways. The other two of these positions have 9 choices each (digits 0-8). The last digit is odd and not 9: 1, 3, 5 or 7, i.e. 4 choices. Total \(3 \times 9^2 \times 4 = 972\) ways.

Step 4: Combine.
Valid last-four-digit blocks: \(729+972=1701\). With 2 choices for the first three digits, the total is \(2 \times 1701 = 3402\).

Step 5: Interpret.
To be certain of success by trial and error, Sam may need to try every possible number, so 3402 trials.

Final Answer:
The correct option is (2): 3402
Was this answer helpful?
0
0

Top CAT Quantitative Aptitude Questions

View More Questions

Top CAT Questions

View More Questions