SOLUTION: Freddie has forgotten the 6-digit code that he uses to lock his briefcase. He knows that he did not repeat any digit and that he did not start his code with a zero. (i) Find the

Algebra.Com
Question 1205223: Freddie has forgotten the 6-digit code that he uses to lock his briefcase. He knows that he did not
repeat any digit and that he did not start his code with a zero.
(i) Find the number of different 6-digit numbers he could have chosen.
Freddie also remembers that his 6-digit code is divisible by 5.
(ii) Find the number of different 6-digit numbers he could have chosen.

Answer by ikleyn(52781)   (Show Source): You can put this solution on YOUR website!
.
Freddie has forgotten the 6-digit code that he uses to lock his briefcase. He knows that he did not
repeat any digit and that he did not start his code with a zero.
(i) Find the number of different 6-digit numbers he could have chosen.
Freddie also remembers that his 6-digit code is divisible by 5.
(ii) Find the number of different 6-digit numbers he could have chosen.
~~~~~~~~~~~~~~~~~~~~


       The solution and the answer to question (i)



The number of different 6-digit codes he could have chosen is

     9*9*8*7*6*5 = 136080.



Any of 9 = 10-1 digits can be in 1st position (any except of 0).

Any of 9 remaining digits can be in 2nd position (0 is allowed now in the 2nd position).

Any of 8 remaining digits can be in 3rd position.


And so on, till the end.



       The solution and the answer to question (ii)



The number of different 6-digit codes he could have chosen is

     9*8*7*6*5*1 + 8*8*7*6*5*1 = 15120 + 13440 = 28560.


First addend is for codes that end with 0 - for them, there is only 1 choice for the 6th digit.

Second addend is for codes that end with 5 - so, there is only 1 choice for the 6th digit.

Solved.



RELATED QUESTIONS

. Someone has arrived at a hotel and his suitcase is locked with a three-digit... (answered by ikleyn)
Jess has a 4-digit code for her lock, but she has forgotten two of the digits. (answered by ankor@dixie-net.com,kelvin nyawali)
A briefcase lock opens with the correct 4-digit code. If the digits can be any number... (answered by Alan3354,ikleyn)
A boy found a bicycle lock for which the combination was unknown. The correct... (answered by josmiceli)
Tim has forgotten the 4-digit code for his house alarm. He can remember that the number... (answered by fcabanski)
Two hours after Harlan had left his house for his out-of-state business trip, his wife... (answered by solver91311,ankor@dixie-net.com)
Mr A is cracking a secret three digit code. He knows that first digit is a even number... (answered by Theo)
dwayne forgot his 4 digit pin number for his bank account. he knows that all four digits... (answered by Alan3354)
Suppose Danny has forgotten his locker combination. There are three numbers in the... (answered by Fombitz)