|
|
A238378
|
|
Numbers k such that (k+1)^(k-1) + k is prime.
|
|
2
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Next term is >= 30000.
|
|
LINKS
|
|
|
EXAMPLE
|
3 is in the sequence since (3+1)^(3-1) + 3 = 4^2 + 3 = 19 is prime.
|
|
MATHEMATICA
|
Select[Range[600], PrimeQ[(#+1)^(#-1)+#]&] (* The program generates the first eight terms of the sequence. *) (* Harvey P. Dale, Feb 07 2024 *)
|
|
PROG
|
|
|
CROSSREFS
|
Cf. A187602 (corresponding primes).
|
|
KEYWORD
|
nonn,hard,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|