OFFSET
1,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
For k = 7, 2*k+13 = 27 is not prime, so 7 is not in the sequence;
for k = 8, 2*k+13 = 29 is prime, so 8 is in the sequence.
MATHEMATICA
(Prime[Range[6, 100]]-13)/2 (* Vladimir Joseph Stephan Orlovsky, Feb 08 2010 *)
Select[Range[0, 200], PrimeQ[2#+13]&] (* Harvey P. Dale, Mar 02 2015 *)
PROG
(Magma) [ n: n in [0..200] | IsPrime(2*n+13) ];
(PARI) is(n)=isprime(2*n+13) \\ Charles R Greathouse IV, Jul 12 2016
(Sage) [n for n in (0..200) if is_prime(2*n+13) ] # G. C. Greubel, May 22 2019
(GAP) Filtered([0..200], k-> IsPrime(2*k+13) ) # G. C. Greubel, May 22 2019
CROSSREFS
Cf. A000040 (prime numbers).
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), this seq (k=13), A089559 (k=15), A173059 (k=17), A153143 (k=19).
KEYWORD
easy,nonn
AUTHOR
Vincenzo Librandi, Dec 18 2008
EXTENSIONS
Edited and extended by Klaus Brockhaus, Dec 22 2008
Definition clarified by Zak Seidov, Jul 11 2014
STATUS
approved