The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A137714 Prime numbers p such that p +- ((p-1)/5) are primes. 2
 1291, 5701, 6961, 7351, 7591, 8101, 8191, 10651, 10861, 12211, 12511, 15361, 15901, 16111, 17341, 18061, 19051, 19861, 19891, 23761, 24091, 24691, 25111, 26161, 29611, 34261, 34351, 35491, 35911, 37201, 38791, 39841, 47491, 47911, 49261 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..1000 EXAMPLE 1291+1290/5 = 1549 and 1291-1290/5 = 1033, which are primes; 5701+5700/5 = 6841 and 5701-5700/5 = 4561, which are primes. MATHEMATICA w=5; s=""; For[i=1, i<10^3*2, p=Prime[i]; If[PrimeQ[p-((p-1)/w)]&&PrimeQ[p+((p-1)/w)], (*Print[p, ":", p-((p-1)/w), ", ", p+((p-1)/w)]; *)s=s<>ToString[p]<>", "]; i++ ]; Print[s] Select[Prime[Range[50000]], PrimeQ[# + (# - 1) / 5] && PrimeQ[# - (# - 1) / 5] &] (* Vincenzo Librandi, Jun 15 2013 *) PROG (Magma) [p: p in PrimesInInterval(5, 50000)| IsPrime((6*p-1) div 5 ) and IsPrime((4*p+1) div 5)]; // Vincenzo Librandi, Jun 15 2013 CROSSREFS Sequence in context: A264243 A020401 A106816 * A256677 A139027 A043392 Adjacent sequences: A137711 A137712 A137713 * A137715 A137716 A137717 KEYWORD nonn,easy AUTHOR Vladimir Joseph Stephan Orlovsky, Apr 27 2008 EXTENSIONS More terms from Vincenzo Librandi, Jun 15 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 28 21:13 EDT 2024. Contains 372920 sequences. (Running on oeis4.)