Guido van Rossum wrote: [me, expanding on hashes, integers,and how to tame them cheaply]
Ai. I think what happened is this: long ago, the hash table sizes were primes, or at least not powers of two!
At some time I will wake up and they tell me that I'm reducible :-)
I'll leave it to the more mathematically-inclined to judge your solution...
I love small lists! - ciao - chris
+1 (being a member, hopefully)