Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #10 Sep 08 2022 08:45:14
%S 80557,80749,80777,80917,81637,83597,87649,94837,106397,123757,148537,
%T 182549,227797,286477,360977,453877,567949,706157,871657,1067797,
%U 1298117,1566349,1876417,2232437,2638717,3099757,3620249,4205077,4859317
%N Primes of the form 8n^4 - 2n^3 - 132n^2 + 318n + 80557.
%C The first composite has n = 29.
%H Vincenzo Librandi, <a href="/A095946/b095946.txt">Table of n, a(n) for n = 1..1000</a>
%H Eric Weisstein, <a href="http://mathworld.wolfram.com/Prime-GeneratingPolynomial.html">Prime-Generating Polynomials</a>
%t Select[Table[8n^4-2n^3-132n^2+318n+80557,{n,0,2000}],PrimeQ] (* _Vincenzo Librandi_, Jul 17 2012 *)
%o (Magma) [a: n in [0..100] | IsPrime(a) where a is 8*n^4-2*n^3-132*n^2+ 318*n+80557]; // _Vincenzo Librandi_, Jul 17 2012
%Y Cf. A076808, A076809.
%K easy,nonn
%O 1,1
%A Hilko Koning (hilko(AT)hilko.net), Jul 13 2004