OFFSET
1,1
MATHEMATICA
NextPrime[#^#, -1] & [Prime[Range[15]]] (* Paolo Xausa, Mar 27 2024 *)
PROG
(PARI) a371346(n) = precprime(prime(n)^prime(n))
(Python)
from sympy import prevprime, prime
def A371346(n): return prevprime((m:=prime(n))**m) # Chai Wah Wu, Mar 27 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Mar 27 2024
STATUS
approved