SOLUTION: A briefcase lock opens with the correct 4-digit code. If the digits can be any number from 0-9 with no repetition, how many 4-digit codes are possible that end in a multiple of 3?

Algebra ->  Quadratic Equations and Parabolas -> SOLUTION: A briefcase lock opens with the correct 4-digit code. If the digits can be any number from 0-9 with no repetition, how many 4-digit codes are possible that end in a multiple of 3?      Log On


   



Question 1160695: A briefcase lock opens with the correct 4-digit code. If the digits can be any number from 0-9 with no repetition, how many 4-digit codes are possible that end in a multiple of 3?
Found 2 solutions by Alan3354, ikleyn:
Answer by Alan3354(69443) About Me  (Show Source):
You can put this solution on YOUR website!
A briefcase lock opens with the correct 4-digit code. If the digits can be any number from 0-9 with no repetition, how many 4-digit codes are possible that end in a multiple of 3?
-----------------
The units must be 0, 3, 6 or 9 ---> 1 of 4
The other 3 are 1 of 9,
then 1 of 8,
then 1 of 7.
---> 4*9*8*7
------------------------
If you don't want 0 to be used as a multiple of 3, then make adjustments.

Answer by ikleyn(52780) About Me  (Show Source):
You can put this solution on YOUR website!
.

So, there are 4 possibilities for the last digit in the 4-th position reading from left to right.

    These possibilities are 0, 3, 6 and 9.


Then there are 10-1 = 9 possibilities for the digit in  the 3-rd position;

                      8 possibilities for the digit in  the 2-nd position;

                      7 possibilities for the digit in  the 1-st position.


In all, there are  4*9*8*7 = 2016 different codes, satisfying imposed conditions.