login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A051654 Primes p such that 30030*p + 1 is also prime. 4
5, 11, 13, 29, 31, 41, 47, 61, 67, 79, 89, 127, 139, 149, 179, 181, 191, 197, 269, 307, 337, 347, 367, 383, 421, 467, 487, 541, 547, 569, 613, 641, 727, 809, 811, 821, 823, 883, 887, 941, 1031, 1033, 1087, 1093, 1103, 1117, 1193, 1201, 1237, 1259, 1279, 1283 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..10000

EXAMPLE

p = 5 and 30030*p + 1 = 150151 are both primes.

MATHEMATICA

Select[Prime@ Range@ 210, PrimeQ[30030 # + 1] &] (* Michael De Vlieger, Aug 15 2017 *)

PROG

(PARI) isok(p) = isprime(p) && isprime(30030*p+1); \\ Michel Marcus, Dec 19 2013

(MAGMA) [p: p in PrimesUpTo (1300) | IsPrime(30030*p+1)]; // Vincenzo Librandi, Aug 16 2017

CROSSREFS

Cf. A005384, A002110, A005385.

Sequence in context: A161540 A153120 A115782 * A225754 A098973 A125742

Adjacent sequences:  A051651 A051652 A051653 * A051655 A051656 A051657

KEYWORD

nonn

AUTHOR

Labos Elemer

EXTENSIONS

More terms from Michel Marcus, Dec 19 2013

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 October 18 00:21 EDT 2019. Contains 328135 sequences. (Running on oeis4.)