OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
PROG
(Python)
from gmpy2 import iroot
def A030697(n):
d, nd = 10, 10*n**3
while True:
x = iroot(nd-1, 3)[0]+1
if not x % 10:
x += 1
x = x**3
if x < nd+d:
return int(x)
d *= 10
nd *= 10 # Chai Wah Wu, May 24 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved