If the order of the lottery number doesn't make a difference, then each lottery number is called a combination of numbers, and we calculate the probability of winning the lottery using the following formula: a n C r , where nCr is the number of combinations possible of the lottery number, and. r ! ( n " r ) ! .