Select 40 unique numbers from 0 to 65535
Total possible combinations (ways)
If order does not matter (e.g. most lottery numbers): 5,525,635,177,806,596,963,916,386,846,175,606,114,533,215,605,778,080,502,744,419,275,386,205,234,124,764,622,961,824,760,821,146,001,773,851,436,584,181,559,319,105,949,914,693,149,319,495,680 (~5.5256351778066E+126 million trillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 4,508,450,191,224,617,189,583,496,576,612,279,853,305,475,076,713,802,841,026,908,931,072,008,072,805,466,867,413,042,884,409,442,031,999,811,793,211,224,405,998,313,053,122,652,403,350,010,438,330,112,726,343,925,669,570,007,199,623,850,912,204,936,183,808 (~4.5084501912246E+174 million trillion)
If order does not matter (e.g. most lottery numbers): 5,525,635,177,806,596,963,916,386,846,175,606,114,533,215,605,778,080,502,744,419,275,386,205,234,124,764,622,961,824,760,821,146,001,773,851,436,584,181,559,319,105,949,914,693,149,319,495,680 (~5.5256351778066E+126 million trillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 4,508,450,191,224,617,189,583,496,576,612,279,853,305,475,076,713,802,841,026,908,931,072,008,072,805,466,867,413,042,884,409,442,031,999,811,793,211,224,405,998,313,053,122,652,403,350,010,438,330,112,726,343,925,669,570,007,199,623,850,912,204,936,183,808 (~4.5084501912246E+174 million trillion)