Select 40 unique numbers from 1 to 30
Total possible combinations (ways)
If order does not matter (e.g. most lottery numbers): 23,720,460,024,918,646,784 (~24 quintillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 121,576,654,590,569,290,678,381,333,676,493,077,843,456,243,854,372,604,215,296 (~)
If order does not matter (e.g. most lottery numbers): 23,720,460,024,918,646,784 (~24 quintillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 121,576,654,590,569,290,678,381,333,676,493,077,843,456,243,854,372,604,215,296 (~)