login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155152 Numbers n such that 13n^2+3n+1 is prime. 3

%I

%S 1,2,3,6,7,8,11,13,14,15,19,20,22,23,24,26,34,37,39,40,41,42,44,46,47,

%T 48,51,53,57,62,63,64,66,68,73,74,75,79,88,91,94,96,97,99,102,107,111,

%U 112,116,122,133,135,144,146,152,161,162,163,165,166,167,172,180,183,184,187

%N Numbers n such that 13n^2+3n+1 is prime.

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

%t Select[Range[200],PrimeQ[13#^2+3#+1]&] (* _Harvey P. Dale_, Dec 08 2011 *)

%o (MAGMA) [n: n in [0..200] | IsPrime(13*n^2+3*n+1)]; // _Vincenzo Librandi_, Sep 24 2012

%o (PARI) is(n)=isprime(13*n^2+3*n+1) \\ _Charles R Greathouse IV_, May 22 2017

%Y Cf. A155153.

%K nonn,easy

%O 1,2

%A _Vincenzo Librandi_, Jan 21 2009

%E Definition corrected and terms recomputed by _Jon E. Schoenfield_ and _N. J. A. Sloane_, Jun 16 2010

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 2 08:31 EST 2021. Contains 349437 sequences. (Running on oeis4.)