login
Numbers n such that 16n+9 is prime.
2

%I #11 Sep 08 2022 08:45:17

%S 2,4,5,8,14,17,19,25,28,32,35,37,38,47,50,53,58,59,64,65,68,70,74,80,

%T 82,89,92,100,103,107,109,112,119,124,130,133,134,142,143,148,149,152,

%U 154,157,163,164,169,170,173,178,184,185,187,190,200,203,214,215,220,224,229

%N Numbers n such that 16n+9 is prime.

%H Vincenzo Librandi, <a href="/A105134/b105134.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[0, 500], PrimeQ[16 # + 9]&] (* _Vincenzo Librandi_, Jan 07 2013 *)

%o (Magma) [n: n in [0..500] | IsPrime(16*n+9)]; // _Vincenzo Librandi_, Jan 07 2013

%o (PARI) is(n)=isprime(16*n+9) \\ _Charles R Greathouse IV_, Jun 06 2017

%Y Cf. A095278, A105133-A105140, A002145, A007521, A105126-A105132.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, based on correspondence from _Marco Matosic_, Apr 11 2005