login
Numbers n such that 210*n-17 is prime.
1

%I #14 Sep 08 2022 08:45:07

%S 1,3,4,5,7,8,9,10,11,12,13,16,22,23,24,25,26,27,29,32,35,37,38,42,43,

%T 45,46,49,52,53,56,57,58,59,60,62,65,70,73,75,78,79,81,82,84,86,87,96,

%U 97,98,99,100,101,103,107,111,115,118,120,122,128,129,130,134,137,139

%N Numbers n such that 210*n-17 is prime.

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

%e n=1: 210*1-17=193 is prime.

%t Select[Range[200],PrimeQ[210#-17]&] (* _Harvey P. Dale_, Feb 09 2011 *)

%o (Magma) [n: n in [0..150]| IsPrime(210*n - 17)]; // _Vincenzo Librandi_, Oct 04 2012

%o (PARI) is(n)=isprime(210*n-17) \\ _Charles R Greathouse IV_, Jun 12 2017

%K easy,nonn

%O 1,2

%A _Zak Seidov_, Oct 08 2002