login
Integers k such that k^k + k^2 + 3*k + 2 is prime.
0

%I #39 Sep 17 2024 12:44:40

%S 0,1,3,5,11,209,1281

%N Integers k such that k^k + k^2 + 3*k + 2 is prime.

%C a(8) > 20000, if it exists. - _Michael S. Branicky_, Sep 17 2024

%e For k = 3, k^k + k^2 + 3*k + 2 = 47 and 47 is prime.

%o (PARI) isok(k) = ispseudoprime(k^k + k^2 + 3*k + 2); \\ _Michel Marcus_, Sep 10 2022

%Y Cf. A058912, A187605, A231712.

%K nonn,more

%O 1,3

%A _Marco RipĂ _, Sep 10 2022