Random number distribution

In reply to sj1992:

The way to check is randomizing this 1000 times and checking how many times the sum is less than 50.

P.S. Did you mean to write [0:49] instead of [1:50]?