login
A174591
Numbers n such that n, 2*n+1, 3*n+2, 4*n+3, 5*n+4 and 6*n+7 are primes.
1
5, 89, 154769, 209039, 513239, 658349, 709589, 1265549, 1527629, 1698569, 1937459, 2022389, 2397449, 3486839, 5053949, 5642369, 5917259, 7057769, 7685459, 8071139, 8424569, 9864839, 10366439, 11673899, 12327629, 12935999
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[1000000]], And@@PrimeQ/@{2 # + 1, 3 # + 2, 4 # + 3, 5 # + 4, 6 # + 7} &] (* Vincenzo Librandi, Sep 24 2014 *)
Select[Prime[Range[10^6]], AllTrue[{2#+1, 3#+2, 4#+3, 5#+4, 6#+7}, PrimeQ]&] (* Harvey P. Dale, Jun 19 2024 *)
PROG
(Magma) [n: n in [1..15000000] | IsPrime(n) and IsPrime(2*n+1) and IsPrime(3*n+2) and IsPrime(4*n+3) and IsPrime(5*n+4) and IsPrime(6*n+7)];
CROSSREFS
Sequence in context: A355082 A067258 A167424 * A065197 A300348 A336783
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Mar 23 2010
STATUS
approved