I need help with the math on a Hash problem, really an explanation of how it adds up to 0 and 10. I worked the numbers in brackets first then did the multiplication and adding but im not getting 0 or 10? Please advise, this is double hashing. Thanks
1) i = 1: (23 % 10 + 1 * (11 - 23 % 11)) % 13 = 0 and
2) i = 2: (23 % 10 + 2 * (11 - 23 % 11)) % 13 = 10