Gravar e-mail: A primality test for Kpⁿ⁺¹ numbers and a generalization of Safe primes and Sophie Germain primes