Asked by Misha
                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?
            
            
        Answers
                    Answered by
            Reiny
            
    my little BASIC program gave the following:
Chipmunk BASIC v3.6.5(b3)
4 possible cases:
<b>135
175
518
598</b>
testing for 518
518 ---> 5 + 1^2 + 8^3 = 5+1+512 = 518
YUP!
I ran the following little program
Chipmunk BASIC v3.6.5(b3)
>10 for a = 1 to 9
>20 for b = 0 to 9
>30 for c =0 to 9
>40 if(100*a+10*b+c) = a+b*b+c*c*c then print a,b,c
>50 next c
>60 next b
>70 next a
>run
1 3 5
1 7 5
5 1 8
5 9 8
>
    
Chipmunk BASIC v3.6.5(b3)
4 possible cases:
<b>135
175
518
598</b>
testing for 518
518 ---> 5 + 1^2 + 8^3 = 5+1+512 = 518
YUP!
I ran the following little program
Chipmunk BASIC v3.6.5(b3)
>10 for a = 1 to 9
>20 for b = 0 to 9
>30 for c =0 to 9
>40 if(100*a+10*b+c) = a+b*b+c*c*c then print a,b,c
>50 next c
>60 next b
>70 next a
>run
1 3 5
1 7 5
5 1 8
5 9 8
>
                                                    There are no AI answers yet. The ability to request AI answers is coming soon!
                                            
                Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.