random & primality changes