primality ad