login
Numbers k such that 5*k - 3 is prime.
1

%I #20 Sep 08 2022 08:44:48

%S 1,2,4,8,10,14,20,22,26,28,32,34,40,46,52,56,62,64,68,70,74,80,92,94,

%T 98,110,112,116,118,122,124,130,136,146,152,158,160,166,172,176,178,

%U 182,188,190,194,196,200,218,220,224,238,244,248,256,260,262,266,274,286,290,298,314

%N Numbers k such that 5*k - 3 is prime.

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

%t Select[Range[400],PrimeQ[5#-3]&] (* _Harvey P. Dale_, Feb 02 2012 *)

%o (Magma) [n: n in [1..1000] | IsPrime(5*n-3)]; // _Vincenzo Librandi_, Nov 20 2010

%o (PARI) is(n)=isprime(5*n-3) \\ _Charles R Greathouse IV_, Jun 06 2017

%Y Cf. A045380 (associated primes).

%K nonn,easy

%O 1,2

%A _Clark Kimberling_