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.

A161008 Primes of the form 2*k^2 + 5939831.

This page as a plain text file.
%I A161008 #39 Jul 12 2025 21:08:16
%S A161008 5939831,5939833,5939839,5939849,5939863,5939881,5939903,5939929,
%T A161008 5939959,5939993,5940169,5940223,5940343,5940479,5940553,5940799,
%U A161008 5940889,5940983,5941081,5941289,5941399,5942009,5942569,5942719,5942873,5943031,5943193
%N A161008 Primes of the form 2*k^2 + 5939831.
%H A161008 Arkadiusz Wesolowski, <a href="/A161008/b161008.txt">Table of n, a(n) for n = 1..1000</a>
%H A161008 G. L. Honaker, Jr. and Chris Caldwell, <a href="https://t5k.org/curios/cpage/18756.html">Prime Curios! 5939831</a>
%H A161008 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Prime-GeneratingPolynomial.html">Prime-Generating Polynomial</a>
%t A161008 Select[Table[2*n^2 + 5939831, {n, 0, 41}], PrimeQ] (* _Arkadiusz Wesolowski_, Mar 03 2011 *)
%o A161008 (Magma) [2*n^2+5939831 : n in [0..41] | IsPrime(2*n^2+5939831)]; // _Arkadiusz Wesolowski_, Mar 03 2011
%o A161008 (PARI) for(n=0, 41, if(isprime(x=(2*n^2+5939831)), print1(x, ", "))); \\ _Arkadiusz Wesolowski_, Mar 03 2011
%o A161008 (PARI) isprime(vector(41, n, 2*n^2+5939831)) \\ _Arkadiusz Wesolowski_, Mar 03 2011
%Y A161008 Cf. A007641, A050265.
%K A161008 nonn
%O A161008 1,1
%A A161008 _Arkadiusz Wesolowski_, Jun 02 2009