Home
Class 14
MATHS
A number lock can be unlocked by a 3 dig...

A number lock can be unlocked by a 3 digit code, each digit of the code could be any one of 0, 1 ....,9. What is the maximum number of trials required to unlock, if the following are known (a) the last digit (b) the sum of the first two digits is always less than or equal to the third?

A

A) 9

B

B) 45

C

C) 55

D

D) 36

Text Solution

AI Generated Solution

The correct Answer is:
To solve the problem, we need to determine the maximum number of trials required to unlock a 3-digit code given the conditions that the last digit is known and the sum of the first two digits is always less than or equal to the third digit. ### Step-by-step Solution: 1. **Understanding the Code Structure**: - The code consists of three digits: \( a \), \( b \), and \( c \). - Each digit can take any value from 0 to 9. - The last digit \( c \) is known, and we need to find valid combinations of \( a \) and \( b \) such that \( a + b \leq c \). 2. **Identifying the Range for \( c \)**: - Since \( c \) can be any digit from 0 to 9, we will analyze each possible value of \( c \) from 0 to 9. 3. **Calculating Valid Combinations**: - For each value of \( c \), we need to find how many pairs \( (a, b) \) satisfy the condition \( a + b \leq c \). - The number of valid combinations for each \( c \) can be calculated as follows: - If \( c = 0 \): The only valid pair is \( (0, 0) \) → 1 combination. - If \( c = 1 \): Valid pairs are \( (0, 0) \) and \( (0, 1), (1, 0) \) → 2 combinations. - If \( c = 2 \): Valid pairs are \( (0, 0), (0, 1), (1, 0), (0, 2), (2, 0), (1, 1) \) → 3 combinations. - Continuing this way, we find: - \( c = 3 \): 4 combinations - \( c = 4 \): 5 combinations - \( c = 5 \): 6 combinations - \( c = 6 \): 7 combinations - \( c = 7 \): 8 combinations - \( c = 8 \): 9 combinations - \( c = 9 \): 10 combinations 4. **Summing Up the Combinations**: - Now, we sum the valid combinations for each value of \( c \): \[ \text{Total combinations} = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 \] - This is the sum of the first 10 natural numbers, which can be calculated using the formula: \[ S_n = \frac{n(n + 1)}{2} \] - Here, \( n = 10 \): \[ S_{10} = \frac{10 \times 11}{2} = 55 \] 5. **Conclusion**: - Therefore, the maximum number of trials required to unlock the lock is **55**.
Promotional Banner

Topper's Solved these Questions

  • MOCK TEST - 3

    DISHA PUBLICATION|Exercise Multiple Choice Questions|20 Videos
  • MOCK TEST 1

    DISHA PUBLICATION|Exercise Multiple Choice Questions|20 Videos

Similar Questions

Explore conceptually related problems

What are the last two digits of the number 9^(200)

The number of three digit numbers such that its first two digits are each divisible by its third digit is

In a two-digit number, the units digit is 3 more than the ten's digit. The sum of the digits is 18 less than the original number. Find the product of the digits

A three digit number is equal to 17 times the sum of its digits. If 198 is added to the number, the digits get reserved. The sum of the extreme digits is 1 less than the midle digit. Find the number.

What is the two digit number ? (i) The difference between the two digits is 9. (ii) The sum of the digits is equal to the difference between the two digits.

DISHA PUBLICATION-MOCK TEST - 4-Multiple Choice Questions
  1. Water drops fall at a uniform rate from a kalash (pot) over the Shiv L...

    Text Solution

    |

  2. (17 : 8) as (25 : 7) :: (32:5) as (overset(?)(-) : overset(?)(-))

    Text Solution

    |

  3. In our camp there are 10 soldiers, four of them run at the speed of 7....

    Text Solution

    |

  4. In our camp there are 10 soldiers, four of them run at the speed of 7....

    Text Solution

    |

  5. In our camp there are 10 soldiers, four of them run at the speed of 7....

    Text Solution

    |

  6. On a certain pasture the grass grow at an even rate. It is known that ...

    Text Solution

    |

  7. A person buys some apples and mangoes from the market at a rate such t...

    Text Solution

    |

  8. Shyama and Vyom walk up an escalator (moving stairway). The escalator ...

    Text Solution

    |

  9. A player rolls a die and receives the same number of rupees as the num...

    Text Solution

    |

  10. Consider all digits from 1 to 9. Suppose that three digits are selecte...

    Text Solution

    |

  11. A number lock can be unlocked by a 3 digit code, each digit of the cod...

    Text Solution

    |

  12. If sin theta = (1)/(2) and theta is acute, the (3 cos theta - 4 cos^(3...

    Text Solution

    |

  13. An aeroplane flying horiontally 1 km above the ground is observed at a...

    Text Solution

    |

  14. A and B start walking along a circle from the same point, in opposite ...

    Text Solution

    |

  15. A, B, C, D, are four towns at the vertices of a rectangle. W is a well...

    Text Solution

    |

  16. ABCD is a square, EFGH is another square. AE = FB = GC = HD = a and AH...

    Text Solution

    |

  17. Three circles of radius 1 cm are circumscribed by a circle of radius r...

    Text Solution

    |

  18. What is the ratio of the area of circle A to that of circle B ?

    Text Solution

    |

  19. A cylinder 84 cm high has a circumference of 16 cm. A string makes exa...

    Text Solution

    |

  20. A conical cap just covers two spheres placed one above the other on a ...

    Text Solution

    |