3 ms·
I've always been partial to Von Neumann's middle square method myself. https://en.wikipedia.org/wiki/Middle-square_method https://en.wikipedia.org/wiki/Middle-
by keepamovin 3y ago
I've always been partial to Von Neumann's middle square method myself.
https://en.wikipedia.org/wiki/Middle-square_method https://en.wikipedia.org/wiki/Middle-square_method
- robobro 3y agoHuh, I remember writing that python snippet for the page about 10 years ago. Nice to see it's still there!
- memming 3y agoI used this to shuffle my MTG deck when I was a kid.
- zanfr 3y agowhy just use the center digits all the time? just randomize it too
- keepamovin 3y agoCool idea. Implement it! and test out with Dieharder :) -- Haha :)