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!)
A126955 Numbers n such that 2n+1, 3n+2 and 4n+3 are primes. 2
1, 5, 65, 89, 119, 215, 455, 755, 779, 965, 1175, 1349, 1409, 1469, 1679, 1745, 1769, 1889, 1955, 2009, 2105, 2435, 2519, 2525, 2585, 2639, 4685, 5045, 5165, 5735, 5915, 5969, 6725, 7415, 7469, 7895, 8045, 9065, 9365, 9449, 9659, 9779, 9959, 10379 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
Take n = 89. Then 2*89 + 1 = 179, 3*89 + 2 = 269 and 4*89 + 3 = 359 are primes.
MATHEMATICA
Select[Range[10500], PrimeQ[2# + 1] && PrimeQ[3# + 2] && PrimeQ[4# + 3] &] (* Ray Chandler, Mar 20 2007 *)
Select[Range[11000], AllTrue[{2#+1, 3#+2, 4#+3}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jan 23 2017 *)
CROSSREFS
Intersection of A005097, A024893, A095278. Cf. A126956.
Sequence in context: A238631 A220557 A266962 * A091105 A234335 A071902
KEYWORD
nonn
AUTHOR
J. M. Bergot, Mar 19 2007
EXTENSIONS
Extended by Ray Chandler, Robert G. Wilson v and Stuart Clary, 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 20 11:10 EDT 2024. Contains 371838 sequences. (Running on oeis4.)