From: KeepBotting
Versus a truly random distribution. Gaussian distribution = normal distribution = bell curve. Random is just … random.
Actually, the pseudo random number generators arent technically random. But anyway, they provide a uniform distribution as seen here.
var
i, zero, one, two, three, four: integer;
begin
for i := 0 to 99999 do
case random(5) of
0: zero := zero + 1;
1: one := one + 1;
2: two := two + 1;
3: three := three + 1;
4: four := four + 1;
end;
writeln('zero = ', zero);
writeln('one = ', one);
writeln('two = ', two);
writeln('three = ', three);
writeln('four = ', four);
end.
zero = 19905
one = 20053
two = 20104
three = 19937
four = 20001
So as we can see, out of 10k runs, they are all occur about 2k times.
To add to it…
https://villavu.com/forum/showthread.php?t=100647&p=1218692#post1218692
http://i.imgur.com/nOGSlMq.png