|
|
A030697
|
|
Smallest nontrivial extension of n-th cube which is a cube not ending 000.
|
|
2
|
|
|
125, 85184, 2744, 6434856, 1259712, 2161700757, 34328125, 5124031424, 7290099019, 10007873875, 13312053, 172808693, 21975528401, 274498269499, 337589698347, 409675763483, 491355848971, 58320792152, 68593724400375
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
PROG
|
(Python)
from gmpy2 import iroot
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
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|