A118571 Sophie Germain primes whose sum of digits is a prime.
2, 3, 5, 11, 23, 29, 41, 83, 89, 113, 131, 173, 179, 191, 281, 359, 443, 593, 641, 683, 719, 809, 911, 953, 1013, 1019, 1031, 1103, 1439, 1451, 1499, 1583, 1811, 1901, 2003, 2063, 2069, 2339, 2351, 2393, 2399, 2753, 2939, 3299, 3329, 3389, 3413, 3491, 3761
Offset: 1
Examples
191 is in the sequence because it is a Sophie Germain prime and the sum of its digits 1+9+1 = 11 is a prime.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[Range[4000], PrimeQ[#] && PrimeQ[2*# + 1] && PrimeQ[Plus @@ IntegerDigits[#]] &] (* Amiram Eldar, Feb 08 2021 *) Select[Prime[Range[600]],AllTrue[{2#+1,Total[IntegerDigits[#]]},PrimeQ]&] (* Harvey P. Dale, Mar 08 2025 *)