Hacker News new | ask | show | jobs
by jmclnx 911 days ago
For laughs a while ago, I wrote a program to read /dev/urandom and print integers. It can execute between a range and let it print out 200,000 iterations. This is some highlights from executing it using 1 -- 2873 using `sort | uniq -c`:

2873 unique numbers printed, so I got all of them for xkcd as of Dec 28, 2023.

The lowest occurrence of a number 44 unique entries for 332 and 1829.

The largest occurrence of a number was 99 unique entries for 2007 and 2230.

Average occurrence was 69 entries, 134 unique numbers occurred 69 times.

What does this mean to me ? Nothing, but maybe to a mathematician it will mean something :)