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,595,577,581,539,785,768,176,325,326,123,534,236,228,784,525,881,587,477,917,648,884,974,315,651,170,858,008,334,481,786,648,384,514,392,510,623,500,469,212,907,234,832,416,768 (~)
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 (~)
If order does not matter (e.g. most lottery numbers): 5,525,635,177,806,595,577,581,539,785,768,176,325,326,123,534,236,228,784,525,881,587,477,917,648,884,974,315,651,170,858,008,334,481,786,648,384,514,392,510,623,500,469,212,907,234,832,416,768 (~)
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 (~)