OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
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
KEYWORD
nonn
AUTHOR
J. M. Bergot, Mar 19 2007
EXTENSIONS
STATUS
approved