login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A051645
Primes p such that 30*p+1 is also prime.
2
2, 5, 7, 11, 19, 23, 41, 43, 61, 67, 71, 79, 89, 109, 113, 131, 137, 167, 181, 193, 223, 229, 233, 277, 281, 313, 317, 331, 337, 359, 383, 439, 443, 457, 461, 467, 491, 503, 509, 541, 547, 593, 599, 607, 641, 691, 701, 733, 739, 743, 751, 769, 797, 821, 823
OFFSET
1,1
LINKS
EXAMPLE
A002110(3)*p+1 and p are primes.
p=19 is in the sequence because also 30*p+1=571 is prime.
MATHEMATICA
Select[Prime[Range[900]], PrimeQ[30 # + 1] &] (* Vincenzo Librandi, Apr 11 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(900) | IsPrime(30*p+1)]; // Vincenzo Librandi, Apr 11 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved