3 ms·
> I chose primes near the golden ratio to maximize the appearance of randomness. Anybody know what this appearance of randomness is?
by copper 16y ago
> I chose primes near the golden ratio to maximize the appearance of randomness.
Anybody know what this appearance of randomness is?
- KevBurnsJr 16y agoIf you use a prime near 62^n/2, udihash(range(1,10)) would still be unique but it would return a list that clearly has some linearity (V0001, 00002, V0003, 00004, V0005, 00006, V0007, 00008, V0009, 0000A, etc). Using a prime near the golden ratio makes the list appear less linear (cJio3, EdRc6, qxAQ9, TGtEC, 5ac2F, huKqI, KE3eL, wXmSO, YrVGR, BBE4U).