I m looking for easy hash-function what would map the number, consist of ones
- from the right (means, 1,3,7,15 = in binary: 1,11, 111,1111)into in the best way summ of its digits (do not suggest just bit count function, i do not want to rely on that here)
- into in the best way, its summ of ones (1,2,3,4...) or other relative small nash value, not overlapping with others, simply because the amount of such digits is small - there are only 32 digits including 0 for integers, 64 for longs.) Thanks a lot, dear code hackers!