Let n be a positive integer. By removing the last three digits of n, one gets the cube
root of n. Find a possible value of n.
The first time I've written and run a solution program on my cellphone instead of computer (Mintoris Basic):
for cr=2 to 9999
n=cr*cr*cr
ns$=" "+str$(n)
if val(left$(ns$,len(ns$)-3))=cr then print n,cr
next
32768 truncated gives 32 and 32^3 = 32768.
The upper limit of 9999 for the cube root is overkill, as a 12-digit cube having 3 of its digits taken away is still much larger than its cube root, and this holds more so for larger numbers still.
|
Posted by Charlie
on 2014-02-11 11:11:21 |