You didn't calculate (n + p) %p -- what you actual did was (n + n%p) % p, and when n%p is zero you get stuck.
In reply to Re: RFC: Is there a solution to the flaw in my hash mechanism? (And are there any others?)
by RichardK
in thread RFC: Is there a solution to the flaw in my hash mechanism? (And are there any others?)
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |