This program calculates the value of 1 / e, which is 0.367879...
First, you enter how many sides you want your dice to have.
The program will then run roll that number of dice as many times as sides it has.
It outputs the chance that you will not roll a specific number, like 1 or 2.
Coincidentally, this value matches very close to 1/e.
The higher the number of sides, the closer your calculated value will be to 1/e.