Select 40 unique numbers from 1000 to 9999
Total possible combinations (ways)
If order does not matter (e.g. most lottery numbers): 166,096,801,324,620,064,601,150,880,461,355,434,207,505,125,296,302,870,989,186,503,481,961,418,273,048,762,973,874,350,488,106,252,451,172,057,088 (~1.6609680132462E+92 million trillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 135,520,918,699,347,157,914,655,822,102,179,338,643,268,480,833,919,662,287,272,990,469,414,196,384,374,478,086,838,728,120,488,374,786,205,397,949,877,879,178,696,746,581,209,625,195,893,559,989,457,349,771,264 (~1.3552091869935E+140 million trillion)
If order does not matter (e.g. most lottery numbers): 166,096,801,324,620,064,601,150,880,461,355,434,207,505,125,296,302,870,989,186,503,481,961,418,273,048,762,973,874,350,488,106,252,451,172,057,088 (~1.6609680132462E+92 million trillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 135,520,918,699,347,157,914,655,822,102,179,338,643,268,480,833,919,662,287,272,990,469,414,196,384,374,478,086,838,728,120,488,374,786,205,397,949,877,879,178,696,746,581,209,625,195,893,559,989,457,349,771,264 (~1.3552091869935E+140 million trillion)