For the Miller-Rabin primality test why must the witnesses be chosen randomly?

46 Views Asked by At

Why do the witnesses in the Miller_rabin primality test have to be chosen randomly? Wouldn't just a deterministic set of witnesses, say starting with 1 and 100 or 1000, etc. apart work just as well?