OFFSET
1,1
COMMENTS
Complement of A000584.
LINKS
A. J. dos Reis and D. M. Silberger, Generating nonpowers by formula, Math. Mag., 63 (1990), 53-55.
MATHEMATICA
Complement[Range[#^5], Range[#]^5] & [3] (* Paolo Xausa, Jul 03 2024 *)
PROG
(Python)
from sympy import integer_nthroot
def A373868(n): return n+(k:=integer_nthroot(n, 5)[0])+(n>=(k+1)**5-k)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Chai Wah Wu, Jun 19 2024
STATUS
approved