%I #18 Sep 08 2022 08:45:07
%S 0,1,3,4,6,7,8,9,14,15,18,19,20,22,26,28,30,32,33,36,41,42,44,45,46,
%T 47,52,56,57,58,62,64,66,67,70,72,75,77,79,81,84,86,87,90,96,99,100,
%U 101,103,105,106,108,109,110,111,112,113,114,123,125,127,129,131,132,133
%N Numbers n such that 210*n + 17 is prime.
%H Vincenzo Librandi, <a href="/A075747/b075747.txt">Table of n, a(n) for n = 1..1000</a>
%e n=1: 210*1 + 17 = 227 is prime.
%t Select[Range[0, 500], PrimeQ[210*# + 17] &] (* _Vincenzo Librandi_, Oct 04 2012 *)
%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_, May 22 2017
%Y Cf. A140842.
%K easy,nonn
%O 1,3
%A _Zak Seidov_, Oct 08 2002
%E 0 inserted by _Ray Chandler_, Apr 30 2010
|