9 Random Numbers between 1-40 | Number Generator

4 1 11 35 40 27 2 7 8
Generate random numbers between and Lucky Lottery Number Generator

Combinatorics

Select 9 numbers from 1 to 40

Total possible combinations (ways)
If order does not matter: 273,438,880 (~273.4 million)
If order matters: 99,225,500,774,400 (~99.2 trillion)