OFFSET
1,1
COMMENTS
First differs from A046100 at {32, 48, 64, 80, 96, 112, 144, 160, 162, ...}.
LINKS
A. J. dos Reis and D. M. Silberger, Generating nonpowers by formula, Math. Mag., 63 (1990), 53-55.
MATHEMATICA
Module[{nn=100, fp}, fp=Floor[Surd[nn, 4]]; Complement[Range[nn], Range[ fp]^4]] (* Harvey P. Dale, Dec 09 2013 *)
PROG
(Python)
from sympy import integer_nthroot
def A140823(n): return n+(k:=integer_nthroot(n, 4)[0])+int(n>=(k+1)**4-k) # Chai Wah Wu, Jun 17 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jul 17 2008
STATUS
approved