login
Numbers k such that k^k + p(k) is prime.
0

%I #19 Aug 10 2024 16:21:25

%S 1,2,4,14,672

%N Numbers k such that k^k + p(k) is prime.

%C 672^672 + prime(672) (1900 digits) certified prime with Primo.

%C Next term, if it exists, is bigger than 2000. - _Stefan Steinerberger_, Feb 03 2006

%C Next term, if it exists, is bigger than 20000. - _Michael S. Branicky_, Aug 10 2024

%t For[n=1, n <= 2000, n++, If[PrimeQ[n^n+Prime[n]], Print[n]]] (* _Stefan Steinerberger_, Feb 03 2006 *)

%t Select[Range[680],PrimeQ[#^#+Prime[#]]&] (* _Harvey P. Dale_, Oct 09 2018 *)

%K nonn,more

%O 1,2

%A _Jason Earls_, Oct 19 2001

%E More terms from _Stefan Steinerberger_, Feb 03 2006