cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A171838 Primes of the form 3*k^2 + 9*k + 5.

This page as a plain text file.
%I A171838 #18 Sep 08 2022 08:45:50
%S A171838 5,17,59,89,167,269,467,719,1259,1949,2267,2609,2789,3167,3779,4217,
%T A171838 4679,4919,5417,5939,7349,7649,9239,10979,11717,12479,14489,15767,
%U A171838 16649,17099,18959,21419,21929,24029,25667,28517,31517,34667,35969,36629
%N A171838 Primes of the form 3*k^2 + 9*k + 5.
%C A171838 Primes of the form 12*k^2 + 18*k + 5. - _Charles R Greathouse IV_, Apr 13 2012
%H A171838 Jon E. Schoenfield, <a href="/A171838/b171838.txt">Table of n, a(n) for n = 1..10000</a>
%t A171838 Select[Table[3n^2+9n+5, {n,0,200}], PrimeQ] (* _Harvey P. Dale_, Jul 18 2014 *)
%o A171838 (PARI) for(n=0,99,if(isprime(t=12*n^2+18*n+5),print1(t", "))) \\ _Charles R Greathouse IV_, Apr 13 2012
%o A171838 (Magma) [3*n^2 +9*n +5: n in [0..250] | IsPrime(3*n^2 +9*n +5)]; // _G. C. Greubel_, Apr 29 2021
%o A171838 (Sage) [3*n^2 +9*n +5 for n in (0..250) if is_prime(3*n^2 +9*n +5)] # _G. C. Greubel_, Apr 29 2021
%Y A171838 Cf. A171748, A171749.
%K A171838 nonn,easy,less
%O A171838 1,1
%A A171838 _Vladimir Joseph Stephan Orlovsky_, Dec 19 2009
%E A171838 Definition simplified by _Charles R Greathouse IV_, Apr 13 2012