login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126956 Numbers n such that 3n+2, 4n+3 and 5n+4 are primes. 2
5, 17, 77, 89, 119, 185, 257, 287, 395, 665, 755, 797, 929, 1175, 1259, 1337, 1379, 1445, 1469, 1769, 2057, 2105, 3125, 3419, 3437, 3629, 3815, 3989, 4079, 4157, 4175, 4217, 4367, 4445, 4847, 5045, 5375, 6089, 6137, 6167, 6359, 6419, 6485, 6725, 6887 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Take n = 185. Then 3*185 + 2 = 557, 4*185 + 3 = 743 and 5*185 + 4 = 929 are primes.
MATHEMATICA
Select[Range[7000], PrimeQ[3# + 2] && PrimeQ[4# + 3] && PrimeQ[5# + 4] &] (* Ray Chandler, Mar 20 2007 *)
Select[Range[7000], AllTrue[{3#+2, 4#+3, 5#+4}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Feb 06 2019 *)
CROSSREFS
Intersection of A024893, A095278, A024897. Cf. A126955.
Sequence in context: A149735 A149736 A145959 * A149737 A149738 A149739
KEYWORD
nonn
AUTHOR
J. M. Bergot, Mar 19 2007
EXTENSIONS
Corrected and extended by Ray Chandler, Stuart Clary, Robert G. Wilson v and Zak Seidov, Mar 20 2007
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:29 EDT 2024. Contains 371967 sequences. (Running on oeis4.)