Thanks. yes, The size of the table will be fixed right from the beginning. so in that case it is ok to do : Entry entries[N] ? where N = 1048583..or some other prime number.
Why would you need to use a prime number here?

Most transposition table sizes are powers of 2, because modulus by 2^n is a lot faster to compute (and you'll need to do that a lot).