A lottery is set up in which players pick six numbers from the set 1, 2, 3, ... , 39, 40. How many different ways are there to play this lottery? (In this game the order in which the numbers are picked does NOT matter.)

1 answer

the number of ways to choose 6 numbers (independent of order) out of 40 is
"40 choose 6"
=C(40,6)
=40!/((40-6)!6!)
=40!/(34!6!)