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.
%I A007591 M2416 #43 Feb 16 2025 08:32:31 %S A007591 1,3,5,7,13,15,17,27,33,35,37,45,47,57,65,67,73,85,87,95,97,103,115, %T A007591 117,125,135,137,147,155,163,167,177,183,193,203,207,215,217,233,235, %U A007591 243,245,253,255,265,267,275,277,287,293,303,307,313,317,347,357,373,375 %N A007591 Numbers k such that k^2 + 4 is prime. %D A007591 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %H A007591 Vincenzo Librandi, <a href="/A007591/b007591.txt">Table of n, a(n) for n = 1..1000</a> %H A007591 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Near-SquarePrime.html">Near-Square Prime</a> %t A007591 lst={};Do[If[PrimeQ[n^2+4], Print[n];AppendTo[lst, n]], {n, 10^5}];lst (* _Vladimir Joseph Stephan Orlovsky_, Aug 21 2008 *) %t A007591 Select[Range[0, 400], PrimeQ[#^2 + 4] &] (* _Vincenzo Librandi_, Sep 25 2012 *) %o A007591 (Magma) [n: n in [0..400] | IsPrime(n^2+4)]; // _Vincenzo Librandi_, Nov 18 2010 %o A007591 (PARI) select(n->isprime(n^2+4),vector(500,n,2*n-1)) \\ _Charles R Greathouse IV_, Sep 25 2012 %Y A007591 Other sequences of the type "Numbers k such that k^2 + i is prime": A005574 (i=1), A067201 (i=2), A049422 (i=3), this sequence (i=4), A078402 (i=5), A114269 (i=6), A114270 (i=7), A114271 (i=8), A114272 (i=9), A114273 (i=10), A114274 (i=11), A114275 (i=12). %K A007591 nonn,easy %O A007591 1,2 %A A007591 _N. J. A. Sloane_, _R. K. Guy_