|
Search: id:A138700
|
|
|
| A138700 |
|
Numbers n such that 2*n+1, 3*n+2, 4*n+3 and 5*n+4 are primes. |
|
+0 6
|
|
| 5, 89, 119, 755, 1175, 1469, 1769, 2105, 5045, 6725, 9065, 9365, 9659, 10379, 10505, 11639, 12899, 14279, 16385, 19229, 19985, 21845, 22559, 23309, 24905, 26795, 27005, 29489, 30359, 31409, 31835, 32549, 35999, 36455, 38339
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
5 is in the sequence because 11,17,23,29 are prime.
|
|
MAPLE
|
a:=proc(n) if isprime(2*n+1)=true and isprime(3*n+2)=true and isprime(4*n+3)= true and isprime(5*n+4)=true then n else end if end proc: seq(a(n), n=1..40000); - Emeric Deutsch (deutsch(AT)duke.poly.edu), May 24 2008
|
|
MATHEMATICA
|
a={}; Do[If[PrimeQ[n*2+1]&&PrimeQ[n*3+2]&&PrimeQ[n*4+3]&&PrimeQ[n*5+4], AppendTo[a, n]], {n, 1, 10^5}]; Print[a];
|
|
CROSSREFS
|
Sequence in context: A054954 A106971 A136618 this_sequence A139937 A059696 A072216
Adjacent sequences: A138697 A138698 A138699 this_sequence A138701 A138702 A138703
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Vladimir Orlovsky (4vladimir(AT)gmail.com), May 15 2008
|
|
EXTENSIONS
|
More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), May 24 2008
|
|
|
Search completed in 0.002 seconds
|