login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271347 Primes p such that p + 38 is also prime. 3
3, 5, 23, 29, 41, 59, 71, 89, 101, 113, 173, 191, 233, 239, 269, 293, 311, 359, 383, 401, 419, 449, 461, 503, 509, 563, 569, 593, 653, 701, 719, 773, 821, 839, 881, 929, 953, 971, 983, 1013, 1031, 1049, 1091, 1163, 1193, 1259, 1283, 1289 (list; graph; refs; listen; history; text; internal format)
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

Cf. A000040, A134118.

Sequence in context: A271417 A270912 A137084 * A222424 A067256 A136891

Adjacent sequences:  A271344 A271345 A271346 * A271348 A271349 A271350

KEYWORD

nonn

AUTHOR

Karl V. Keller, Jr., Apr 04 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 11 18:19 EDT 2020. Contains 335652 sequences. (Running on oeis4.)