Hacker News new | ask | show | jobs
by cobaltoxide 1037 days ago
That doesn't seem like a good way to generate "random" numbers, since it will only produce numbers with exactly two prime factors.
1 comments

Correct. It will almost never produce an even number, so there's already one bit of entropy lost. It will also never produce lots of other numbers.
Thanks all, I hadn’t considered that but we do only use it for silly things and nothing work related but it’s worth a consideration.