document.write( "Question 982669: What is the largest three-digit number with the property that the number is equal to the sum of its hundreds digit, the square of its tens digit and the cube of its units digit? \n" ); document.write( "
Algebra.Com's Answer #603538 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
What is the largest three-digit number with the property that the number is equal to the sum of its hundreds digit, the square of its tens digit and the cube of its units digit?
\n" ); document.write( ":
\n" ); document.write( "An equation for this
\n" ); document.write( "100a + 10b + c = a + b^2 + c^3
\n" ); document.write( ":
\n" ); document.write( "Too many unknowns for me to solve, used a simple basic program as follows:
\n" ); document.write( ":
\n" ); document.write( "10 print\"A three-digit number is equal to the sum of its hundreds digit, the square of its tens digit and the cube of its units digit?\":print
\n" ); document.write( "20 for a = 1 to 9
\n" ); document.write( "30 for b = 0 to 9
\n" ); document.write( "40 for c = 0 to 9
\n" ); document.write( "50 n = (100*a) + (10*b) + c
\n" ); document.write( "60 m = a + b^2 + c^3
\n" ); document.write( "70 if m = n then print, m
\n" ); document.write( "80 next c
\n" ); document.write( "90 next b
\n" ); document.write( "100 next a
\n" ); document.write( "120 end
\n" ); document.write( ":
\n" ); document.write( "It came up with 4 solutions, the largest: 598
\n" ); document.write( "
\n" ); document.write( "
\n" );