OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
Half of p+9 where p is a prime greater than 2.
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 *)
PROG
(Magma) [n: n in [6..160] | IsPrime(2*n-9)]; // Bruno Berselli, Mar 05 2011
(PARI) is(n)=isprime(2*n-9) \\ Charles R Greathouse IV, Apr 28 2015
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).
KEYWORD
easy,nonn
AUTHOR
Douglas Winston (douglas.winston(AT)srupc.com), Sep 15 2004
STATUS
approved