Select 40 unique numbers from 1 to 9999
Total possible combinations (ways)
If order does not matter (e.g. most lottery numbers): 11,290,017,376,564,501,164,657,308,281,682,815,535,513,379,538,835,777,954,334,087,982,041,035,693,687,748,820,941,423,387,350,144,576,702,887,493,632 (~1.1290017376565E+94 million trillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 9,211,697,725,673,312,216,276,072,628,146,236,951,840,222,162,828,860,916,414,259,923,983,293,964,171,821,513,329,238,317,537,638,608,670,259,075,785,023,930,821,713,682,871,960,903,856,572,356,599,834,235,371,520 (~9.2116977256733E+141 million trillion)
If order does not matter (e.g. most lottery numbers): 11,290,017,376,564,501,164,657,308,281,682,815,535,513,379,538,835,777,954,334,087,982,041,035,693,687,748,820,941,423,387,350,144,576,702,887,493,632 (~1.1290017376565E+94 million trillion)
If order matters (e.g. pick3 numbers, permutations, lock combinations, pin-codes): 9,211,697,725,673,312,216,276,072,628,146,236,951,840,222,162,828,860,916,414,259,923,983,293,964,171,821,513,329,238,317,537,638,608,670,259,075,785,023,930,821,713,682,871,960,903,856,572,356,599,834,235,371,520 (~9.2116977256733E+141 million trillion)