login
A098605
Positive integers n such that 2n - 17 is prime.
21
10, 11, 12, 14, 15, 17, 18, 20, 23, 24, 27, 29, 30, 32, 35, 38, 39, 42, 44, 45, 48, 50, 53, 57, 59, 60, 62, 63, 65, 72, 74, 77, 78, 83, 84, 87, 90, 92, 95, 98, 99, 104, 105, 107, 108, 114, 120, 122, 123, 125, 128, 129, 134, 137, 140, 143, 144, 147, 149, 150, 155, 162
OFFSET
1,1
LINKS
FORMULA
Half of p+17 where p is a prime greater than 2.
MATHEMATICA
(Prime[Range[2, 100]]+17)/2 (* Vladimir Joseph Stephan Orlovsky, Feb 08 2010 *)
PROG
(PARI) is(n)=isprime(2*n-17) \\ Charles R Greathouse IV, Jul 12 2016
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), A173059 (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), this sequence (k=17), A097932 (k=19).
Sequence in context: A244156 A058948 A108584 * A126802 A075775 A262393
KEYWORD
easy,nonn
AUTHOR
Douglas Winston (douglas.winston(AT)srupc.com), Sep 20 2004
STATUS
approved