login
Primes of the form k^4 + 2*k^3 + 36*k^2 + 35*k + 23.
1

%I #16 Sep 08 2022 08:45:41

%S 23,97,269,587,1123,1973,3257,5119,7727,11273,15973,22067,29819,51473,

%T 104369,191123,229637,687787,897473,1018807,1152119,1631723,2026069,

%U 2488223,2747023,3025577,3989723,5614247,7125947,7692019,8291237

%N Primes of the form k^4 + 2*k^3 + 36*k^2 + 35*k + 23.

%C For all 0 <= k < 13, k^4 + 2*k^3 + 36*k^2 + 35*k + 23 is a prime.

%H Vincenzo Librandi, <a href="/A155815/b155815.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Table[n^4 + 2 n^3 + 36 n^2 + 35 n + 23, {n, 0, 100}], PrimeQ] (* _Vincenzo Librandi_, Jun 24 2013 *)

%o (Magma) [a: n in [0..100] | IsPrime(a) where a is n^4+2*n^3+36*n^2+35*n+23]; // _Vincenzo Librandi_, Jun 24 2013

%K nonn,easy

%O 1,1

%A _Vincenzo Librandi_, Jan 28 2009