Mark:
LOTTERY
It's combinations, not permutations.
C(36,6) = 36! / (30! * 6!) = 1,947,792

!
It sure is.
The formula for determining how many ways 'k' things can be selected from 'n' things is:
n! / (k! * (n-k)!), where the ! symbol means factorial. A factorial is determined by getting an integer, then multiplying it by that integer minus 1, and so on, until 1 is reached. For example 5! = 5 * 4 * 3 * 2 * 1, which equals 120.
Returning to our problem, n = 36 and k = 6. Putting these into the formula we have: 36!/(6! * (36 - 6)!) which equals 36!/(6! * 30!)
which simplifies to: 36 * 35 * 34 * 33 * 32 * 31 / 6! which equals: 1,947,792
So there are 1,947,792 ways to pick 6 numbers from 36. If in doubt ask Mark.
Returning to our lottery; when 3 of 6 numbers match the winning number, you win a free ticket.
What is the probability of getting 3 out of the 6 winning numbers