login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059325 Numbers n such that 6n + 5 is prime. 8

%I #38 Feb 04 2024 01:13:22

%S 0,1,2,3,4,6,7,8,9,11,13,14,16,17,18,21,22,24,27,28,29,31,32,37,38,39,

%T 41,42,43,44,46,48,51,52,57,58,59,63,64,66,69,71,73,74,76,77,79,81,83,

%U 84,86,92,93,94,97,98,99,102,106,107,108,109,112,113,116,119,123,126

%N Numbers n such that 6n + 5 is prime.

%H G. C. Greubel, <a href="/A059325/b059325.txt">Table of n, a(n) for n = 1..5000</a>

%e a(4)=3 because 6*3 + 1 = 19 is prime.

%t Select[Range[0, 1000], PrimeQ[6 # + 5] &] (* _G. C. Greubel_, Jan 06 2017 *)

%o (Magma) [n: n in [0..200]| IsPrime(6*n+5)] // _Vincenzo Librandi_, Aug 07 2010

%o (PARI) is(n)=isprime(6*n+5) \\ _Charles R Greathouse IV_, Feb 17 2017

%Y Complement of A059324.

%K nonn,easy

%O 1,3

%A _Anton Joha_, Jan 26 2001

%E More terms from _Henry Bottomley_, Jan 29 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 19:48 EDT 2024. Contains 371754 sequences. (Running on oeis4.)