SOLUTION: The combination locks on the lockers at Hillside School have numbers from 0 through 39 (inclusive). A locker combination consists of three different numbers, where order matters. B

Algebra.Com
Question 1180836: The combination locks on the lockers at Hillside School have numbers from 0 through 39 (inclusive). A locker combination consists of three different numbers, where order matters. Because of the way the locks are manufactured, all three numbers are even or all three numbers are odd. How many combinations are possible?
So I think that to get ALL the possible combinations you do 40P3 which is 40 times 39 times 38 = 59280, but I don't know what to do after that.

Answer by math_helper(2461)   (Show Source): You can put this solution on YOUR website!

There are 20 even numbers (0,2,4,...,38) and 20 odd numbers (1,3,...,39)
There are two cases: the numbers are all odd or they are all even. You will need to add them together:
If the numbers are odd, you get 20*19*18
If the numbers are even, you get 20*19*18
So the total number of combinations is 2(20*19*18) = 13680

RELATED QUESTIONS

Locker comb The numbers of the lock is 0 to 39 with 3 combinations. ??? 1. How many... (answered by stanbon)
A school has 1000 lockers that are closed. A person passes through and closes every other (answered by solver91311)
Suppose Danny has forgotten his locker combination. There are three numbers in the... (answered by Fombitz)
The numbers on two consecutively numbered gym lockers have a sum of 139. What are the (answered by TimothyLamb)
The numbers on two consecutively numbered gym lockers have a sum of 135. What are the... (answered by stanbon)
The numbers on two consecutively numbered gym lockers have a sum of 145 What are the... (answered by MathLover1)
suppose you have totally forgotten the combination to your locker. There are three... (answered by solver91311)
Suppose you have forgotten the combination to your locker. There are three numbers in the (answered by stanbon)
The number on two consecutively number gym lockers have a sum of 151. what are the locker (answered by mananth)