OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
113 and 131 are consecutive Sophie Germain primes that have the same digital sum, hence 131 is in the sequence. - Michel Marcus, Dec 01 2013
MATHEMATICA
Select[Partition[{#, Total[IntegerDigits[#]]}&/@Select[Prime[Range[2000]], PrimeQ[ 2#+1]&], 2, 1], #[[1, 2]] == #[[2, 2]]&][[;; , 2, 1]] (* Harvey P. Dale, Feb 20 2023 *)
PROG
(PARI) lista(nn) = {lastsd = 0; forprime(p=2, nn, if (isprime(2*p+1), digs = digits(p); sd = sum(i=1, #digs, digs[i]); if (sd == lastsd, print1(p, ", ")); lastsd = sd; ); ); } \\ Michel Marcus, Dec 01 2013
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), May 06 2006
EXTENSIONS
Missing term 6761 and more terms added by Michel Marcus, Dec 01 2013
STATUS
approved