login
A173059
Nonnegative numbers k such that 2*k + 17 is prime.
21
0, 1, 3, 6, 7, 10, 12, 13, 15, 18, 21, 22, 25, 27, 28, 31, 33, 36, 40, 42, 43, 45, 46, 48, 55, 57, 60, 61, 66, 67, 70, 73, 75, 78, 81, 82, 87, 88, 90, 91, 97, 103, 105, 106, 108, 111, 112, 117, 120, 123, 126, 127, 130, 132, 133, 138, 145, 147, 148, 150, 157, 160, 165
OFFSET
1,3
LINKS
MATHEMATICA
(Prime[Range[7, 100]]-17)/2
PROG
(PARI) is(n)=isprime(2*n+17) \\ Charles R Greathouse IV, Feb 17 2017
(Magma) [n: n in [0..200] | IsPrime(2*n+17) ]; // G. C. Greubel, May 22 2019
(Sage) [n for n in (0..200) if is_prime(2*n+17) ] # G. C. Greubel, May 22 2019
(GAP) Filtered([0..200], k-> IsPrime(2*k+17) ) # G. C. Greubel, May 22 2019
CROSSREFS
Numbers n such that 2n+k is prime: A005097 (k=1), A067076 (k=3), A089038 (k=5), A105760 (k=7), A155722 (k=9), A101448 (k=11), A153081 (k=13), A089559 (k=15), this seq (k=17), A153143 (k=19).
Numbers n such that 2n-k is prime: A006254 (k=1), A098090 (k=3), A089253 (k=5), A089192 (k=7), A097069 (k=9), A097338 (k=11), A097363 (k=13), A097480 (k=15), A098605 (k=17), A097932 (k=19).
Sequence in context: A286806 A297125 A211969 * A189387 A091087 A138622
KEYWORD
easy,nonn
AUTHOR
EXTENSIONS
Definition clarified by Zak Seidov, Jul 11 2014
STATUS
approved