A097069 Positive integers n such that 2n - 9 is prime.
6, 7, 8, 10, 11, 13, 14, 16, 19, 20, 23, 25, 26, 28, 31, 34, 35, 38, 40, 41, 44, 46, 49, 53, 55, 56, 58, 59, 61, 68, 70, 73, 74, 79, 80, 83, 86, 88, 91, 94, 95, 100, 101, 103, 104, 110, 116, 118, 119, 121, 124, 125, 130, 133, 136, 139, 140, 143, 145, 146, 151, 158, 160
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
Magma
[n: n in [6..160] | IsPrime(2*n-9)]; // Bruno Berselli, Mar 05 2011
-
Mathematica
(Prime[Range[2,100]]+9)/2 (* Vladimir Joseph Stephan Orlovsky, Feb 08 2010 *) Select[Range[4, 200], PrimeQ[2 # - 9] &] (* Vincenzo Librandi, Oct 16 2012 *)
-
PARI
is(n)=isprime(2*n-9) \\ Charles R Greathouse IV, Apr 28 2015
Formula
Half of p+9 where p is a prime greater than 2.