login
Numbers k such that 1 + k^3 + k^5 is prime.
1

%I #22 Sep 08 2022 08:45:28

%S 1,2,3,5,6,9,17,20,23,27,30,39,41,47,51,57,68,72,74,78,80,96,105,111,

%T 113,122,126,131,132,134,137,143,144,149,153,161,174,176,182,189,249,

%U 251,254,263,264,281,282,293,300,311,317,321,324,342,344,350,354,363

%N Numbers k such that 1 + k^3 + k^5 is prime.

%t Select[Range[400],PrimeQ[1+#^3+#^5]&] (* _Harvey P. Dale_, Apr 10 2012 *)

%o (Magma) [n: n in [0..400] | IsPrime(1+n^3+n^5)] // _Vincenzo Librandi_, Mar 26 2010

%o (PARI) is(n)=isprime(1+n^3+n^5) \\ _Charles R Greathouse IV_, Jun 13 2017

%K nonn,easy

%O 1,2

%A _Zak Seidov_, Dec 12 2006

%E More terms from _Vincenzo Librandi_, Mar 26 2010