A153143 Nonnegative numbers k such that 2k + 19 is prime.
0, 2, 5, 6, 9, 11, 12, 14, 17, 20, 21, 24, 26, 27, 30, 32, 35, 39, 41, 42, 44, 45, 47, 54, 56, 59, 60, 65, 66, 69, 72, 74, 77, 80, 81, 86, 87, 89, 90, 96, 102, 104, 105, 107, 110, 111, 116, 119, 122, 125, 126, 129, 131, 132, 137, 144, 146, 147, 149, 156, 159, 164, 165
Offset: 1
Examples
For k = 4, 2*k+19 = 27 is not prime, so 4 is not in the sequence; for k = 17, 2*k+19 = 53 is prime, so 17 is in the sequence.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
GAP
Filtered([0..200], k-> IsPrime(2*k+19) ); # G. C. Greubel, May 22 2019
-
Magma
[ n: n in [0..165] | IsPrime(2*n+19) ];
-
Mathematica
(Prime[Range[8,100]]-19)/2 (* Vladimir Joseph Stephan Orlovsky, Feb 08 2010 *) Select[Range[0, 170], PrimeQ[(2*#)+19]&] (* Vincenzo Librandi, Sep 24 2012 *)
-
PARI
is(n)=isprime(2*n+19) \\ Charles R Greathouse IV, Feb 17 2017
-
PARI
list(lim)=apply(p->p\2-9, primes([19,lim\1*2+19])) \\ Charles R Greathouse IV, Jan 03 2025
-
Sage
[n for n in (0..200) if is_prime(2*n+19) ] # G. C. Greubel, May 22 2019
Formula
a(n) ~ (n/2) log n. - Charles R Greathouse IV, Jan 03 2025
Extensions
Edited, corrected and extended by Klaus Brockhaus, Dec 22 2008
Definition clarified by Zak Seidov, Jul 11 2014
Comments