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.

A049422 Numbers k such that k^2 + 3 is prime.

This page as a plain text file.
%I A049422 #27 Feb 16 2025 08:32:40
%S A049422 0,2,4,8,10,14,22,28,38,50,52,62,64,70,74,76,92,94,106,112,122,130,
%T A049422 134,140,146,154,158,160,172,178,218,230,242,244,248,256,274,286,298,
%U A049422 304,316,322,326,340,350,356,364,368,398,406,416,424,430,434,440,458,470
%N A049422 Numbers k such that k^2 + 3 is prime.
%H A049422 Zak Seidov, <a href="/A049422/b049422.txt">Table of n, a(n) for n = 1..1000</a>
%H A049422 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Near-SquarePrime.html">Near-Square Prime</a>
%e A049422 4^2 + 3 = 19, which is prime.
%t A049422 lst={};Do[If[PrimeQ[n^2+3], Print[n];AppendTo[lst, n]], {n, 10^5}];lst (* _Vladimir Joseph Stephan Orlovsky_, Aug 21 2008 *)
%o A049422 (PARI) isA049422(n) = isprime(n^2+3) \\ _Michael B. Porter_, Mar 19 2010
%Y A049422 Other sequences of the type "Numbers k such that k^2 + i is prime": A005574 (i=1), A067201 (i=2), this sequence (i=3), A007591 (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 A049422 nonn,easy
%O A049422 1,2
%A A049422 Paul Jobling (paul.jobling(AT)whitecross.com)