calculates numbers that are happy, palindromic double primes