%I #30 Feb 03 2024 00:54:54
%S 0,1,3,6,7,10,12,13,15,18,21,22,25,27,28,31,33,36,40,42,43,45,46,48,
%T 55,57,60,61,66,67,70,73,75,78,81,82,87,88,90,91,97,103,105,106,108,
%U 111,112,117,120,123,126,127,130,132,133,138,145,147,148,150,157,160,165
%N Nonnegative numbers k such that 2*k + 17 is prime.
%H Shawn A. Broyles, <a href="/A173059/b173059.txt">Table of n, a(n) for n = 1..1000</a>
%t (Prime[Range[7,100]]-17)/2
%o (PARI) is(n)=isprime(2*n+17) \\ _Charles R Greathouse IV_, Feb 17 2017
%o (Magma) [n: n in [0..200] | IsPrime(2*n+17) ]; // _G. C. Greubel_, May 22 2019
%o (Sage) [n for n in (0..200) if is_prime(2*n+17) ] # _G. C. Greubel_, May 22 2019
%o (GAP) Filtered([0..200], k-> IsPrime(2*k+17) ) # _G. C. Greubel_, May 22 2019
%Y 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), this seq (k=17), A153143 (k=19).
%Y Numbers n such that 2n-k is prime: A006254 (k=1), A098090 (k=3), A089253 (k=5), A089192 (k=7), A097069 (k=9), A097338 (k=11), A097363 (k=13), A097480 (k=15), A098605 (k=17), A097932 (k=19).
%K easy,nonn
%O 1,3
%A _Vladimir Joseph Stephan Orlovsky_, Feb 08 2010
%E Definition clarified by _Zak Seidov_, Jul 11 2014
|