login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers k such that 66*k + 5 is prime.
1

%I #27 Sep 27 2022 09:00:28

%S 0,1,2,4,6,7,9,12,13,14,16,18,19,23,26,27,36,37,39,41,42,43,44,46,51,

%T 56,57,58,64,68,71,74,76,77,78,81,82,83,88,89,91,93,98,102,103,104,

%U 106,111,114,117,118,123,127,133,134,141,142,149,152,153,154,156,158,159,161

%N Numbers k such that 66*k + 5 is prime.

%H Vincenzo Librandi, <a href="/A157202/b157202.txt">Table of n, a(n) for n = 1..1001</a> [Offset shifted by _Georg Fischer_, Sep 27 2022]

%e 23 is a term because 66*23 + 5 = 1523 is prime.

%t Select[Range[0, 200], PrimeQ[66 # + 5] &] (* _Vincenzo Librandi_, Mar 20 2014 *)

%o (Magma) [n: n in [0..500]|IsPrime(66*n+5)]; // _Vincenzo Librandi_, Dec 08 2010

%o (PARI) is(n)=isprime(66*n+5) \\ _Charles R Greathouse IV_, Dec 27 2013

%Y Cf. A142052 (the corresponding primes).

%K nonn,easy

%O 1,3

%A _Kyle D. Balliet_, Feb 25 2009

%E Offset changed to 1 by _Georg Fischer_, Sep 27 2022