login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097069 Positive integers n such that 2n - 9 is prime. 22
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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).
Numbers n such that 2n-k is prime: A006254 (k=1), A098090 (k=3), A089253 (k=5), A089192 (k=7), this seq(k=9), A097338 (k=11), A097363 (k=13), A097480 (k=15), A098605 (k=17), A097932 (k=19).
Sequence in context: A010755 A063971 A191879 * A031237 A031314 A209723
KEYWORD
easy,nonn
AUTHOR
Douglas Winston (douglas.winston(AT)srupc.com), Sep 15 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 20 15:09 EDT 2024. Contains 374459 sequences. (Running on oeis4.)