OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..2000 (first 600 terms from Harvey P. Dale)
EXAMPLE
For k = 3, we have prime(2) = 2, prime(3) = 5, prime(4) = 7, and 3125 = 5^5 > 3^7 = 2187.
MATHEMATICA
p[n_] := Prime[n];
u = Select[1 + Range[3000], p[#]^p[#] > p[# - 1]^p[# + 1] &] (* A358899 *)
Prime[u] (* A358900 *)
Select[Partition[Prime[Range[2000]], 3, 1], #[[2]]^#[[2]]>#[[1]]^#[[3]]&][[;; , 2]] (* Harvey P. Dale, Oct 12 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Dec 06 2022
STATUS
approved