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.

A174152 Primes p such that p^2+p+9 is also prime.

This page as a plain text file.
%I A174152 #14 Sep 08 2022 08:45:51
%S A174152 13,19,43,79,139,151,211,271,373,433,523,643,739,751,769,853,919,1033,
%T A174152 1051,1093,1129,1171,1423,1429,1471,1531,1579,1663,1741,1759,1789,
%U A174152 1933,2053,2281,2389,2521,2689,2731,2749,2833,3061,3109,3163,3271,3313,3319
%N A174152 Primes p such that p^2+p+9 is also prime.
%H A174152 Vincenzo Librandi, <a href="/A174152/b174152.txt">Table of n, a(n) for n = 1..1000</a>
%F A174152 A027757 INTERSECT A000040. [From _R. J. Mathar_, Jul 06 2010]
%e A174152 For p=13, 13^2+13+9=191; p=19, 19^2+19+9=389; p=43, 43^2+43+9=1901.
%t A174152 Select[Prime[Range[500]], PrimeQ[#^2 + # + 9]&] (* _Vincenzo Librandi_, Apr 16 2013 *)
%o A174152 (Magma) [p: p in PrimesUpTo(10000) | IsPrime(p^2+p+9)];
%Y A174152 Cf. A000040, A027757.
%Y A174152 Subsequence of A002476.
%K A174152 nonn,easy
%O A174152 1,1
%A A174152 _Vincenzo Librandi_, Mar 10 2010