SOLUTION: What is the largest 3-digit-number with the property that the number is equal to the sum of its hundreds digit, the squared of its 10 digit and the cube of its units digit?
Algebra.Com
Question 891401: What is the largest 3-digit-number with the property that the number is equal to the sum of its hundreds digit, the squared of its 10 digit and the cube of its units digit?
Answer by richard1234(7193) (Show Source): You can put this solution on YOUR website!
There isn't a really nice analytic solution other than casework on the units digit (which is still painfully time-consuming). I wrote a small Python program that checks all possibilities (add indentations):
def solve():
a = 1
b = 0
c = 0
for a in range(1, 10):
for b in range(0,10):
for c in range(0,10):
if 100*a + 10*b + c == a + b**2 + c**3:
print 100*a + 10*b + c
return None
The solutions are 135, 175, 518, and 598, the largest of which is 598.
RELATED QUESTIONS
What is the largest three-digit number with the property that the number is equal to the... (answered by ankor@dixie-net.com,Edwin McCravy)
In a three digit number, the sum of its ones digit and tens digit is ten. Its tens digit... (answered by Edwin McCravy)
A 3 digit number with hundreds digit equal to the sum of the tens and units... (answered by Alan3354)
My thousands digit is half my ones digit. The hundreds digit is odd and divisible by 3.... (answered by ankor@dixie-net.com)
In a 4-digit number the tens and hundreds digits are 3. The ones digit is twice the tens... (answered by Edwin McCravy)
find the greatest odd three-digit number with hundreds digit equal to twice its ones... (answered by Fombitz)
My tens' digit is twice my hundreds digit. My one's digit is 3 more than my tens' digit.... (answered by josmiceli)
i have five digits. myu tens digit is 2 less than my hundreds digit.my thousands digit is (answered by ankor@dixie-net.com)
In a four digit number, the sum of the thousands and the hundreds digits is 3. The tens... (answered by ankor@dixie-net.com)