login
Numbers k such that k^k + k + 7 is prime.
2

%I #29 Jun 30 2024 06:08:08

%S 2,3,5,53,164,806,1256

%N Numbers k such that k^k + k + 7 is prime.

%C Here we interpret 0^0 as 1.

%C a(8) > 3340. - _Daniel Starodubtsev_, Mar 05 2019

%C a(8) > 20000. - _Michael S. Branicky_, Jun 29 2024

%o (PARI) f2(n) = for(x=0,n,y=x^x+x+7;if(ispseudoprime(y),print1(x",")))

%Y Cf. A100848, A100849.

%K hard,more,nonn

%O 1,1

%A _Cino Hilliard_, Jan 07 2005

%E a(6)-a(7) from _Daniel Starodubtsev_, Mar 05 2019