login
Numbers k such that 6k - 7 is prime.
4

%I #33 Feb 03 2024 00:52:17

%S 2,3,4,5,6,8,9,10,11,13,15,16,18,19,20,23,24,26,29,30,31,33,34,39,40,

%T 41,43,44,45,46,48,50,53,54,59,60,61,65,66,68,71,73,75,76,78,79,81,83,

%U 85,86,88,94,95,96,99,100,101,104,108,109,110,111,114,115,118,121,125,128

%N Numbers k such that 6k - 7 is prime.

%C One more than the associated term in A024898. - _R. J. Mathar_, Jan 05 2011

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

%o (Magma) [n: n in [1..150] | IsPrime(6*n - 7)]; // _Vincenzo Librandi_, Sep 24 2012

%o (PARI) is(n)=isprime(6*n-7) \\ _Charles R Greathouse IV_, Feb 20 2017

%Y Cf. A153245, A153135. - _Vladimir Joseph Stephan Orlovsky_, Dec 23 2008

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Dec 21 2008

%E Corrected and extended by _Vladimir Joseph Stephan Orlovsky_, Dec 23 2008