134k views
3 votes
a realtor uses a lock box to store the keys to a house that is for sale. the access code for the lock consist of five digits. the first digit cannot be 1 and the last digit must be even. how many different codes are avaible

1 Answer

4 votes

Answer:

45,000 codes

Explanation:

Given:

Code of 5 digits

Condition

  • First digit can't be 1
  • Last digit must be even

Required

Calculate the number of codes available

Digits = {0,1,2....9}

n(Digits) = 10

Let the format of the code be represented as follows;

ABCDE

From the conditions given

A can't be 1;

This means that A can be any of 0,2,3,4....9

This implies that A can be any of the above 9 digits

n(A) = 9

There's no condition attached to BCD;

This means that B can be any of 10 digits

This means that C can be any of 10 digits

This means that D can be any of 10 digits

n(B) = n(C) = n(D) = 10

Lastly, E must be an even number;

This means that E can be any of 0,2,4,6,8

This implies that E can be any of the above 5 digits

n(E) = 5

So,

Number of available codes = n(A) * n(B) * n(C) * n(D) * n(E)

Number of available codes = 9 * 10 * 10 * 10 *5

Number of available codes = 45,000

Hence, there are 45,000 available codes

User Foobarbecue
by
8.6k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories