login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Sum of consecutives primes p and q where p == 3 mod (10) and q == 7 mod (10).
1

%I #9 Aug 29 2020 02:34:27

%S 30,90,210,240,330,390,450,600,630,930,1230,1290,1350,1560,1650,1710,

%T 1740,1770,1920,2190,2430,2610,2850,2970,3180,3330,3390,3570,3750,

%U 3990,4170,4410,4590,4860,4950,5280,5370,5520,5670,5910,6060

%N Sum of consecutives primes p and q where p == 3 mod (10) and q == 7 mod (10).

%e 13 + 17 = 30, hence 30 is in the sequence; 43 + 47 = 90, hence 90 is in the sequence.

%o (PARI) lista(nn) = {forprime(p=3, nn, if ((p % 10 == 3) && ((q=nextprime(p+1)) % 10 == 7), print1(p+q, ", ")););} \\ _Michel Marcus_, Jun 12 2013

%Y Cf. A135557.

%K easy,nonn

%O 1,1

%A Daniele Corradetti (d.corradetti(AT)gmail.com), Feb 28 2008

%E Corrected and extended by _Zak Seidov_, Mar 01 2008