OFFSET
1,1
COMMENTS
A134118 is a subsequence of this sequence.
LINKS
Karl V. Keller, Jr., Table of n, a(n) for n = 1..10000
EXAMPLE
3 such that 3 + 38 = 41 is also prime.
5 such that 5 + 38 = 43 is also prime.
MATHEMATICA
Select[Prime[Range[250]], PrimeQ[# + 38] &] (* Alonso del Arte, Apr 05 2016 *)
PROG
(Python)
from sympy import isprime
for i in range(3, 2001, 2):
if isprime(i) and isprime(i+38): print (i, end=', ')
(PARI) lista(nn) = forprime(p=2, nn, if(ispseudoprime(p+38), print1(p, ", "))); \\ Altug Alkan, Apr 05 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Karl V. Keller, Jr., Apr 04 2016
STATUS
approved