כותרת: % question 69
hi
i didnt find any mathematical way to solves this problem , but solving it by logical can be done :
you take the right digit and check
1^3 = 1 , 1^2 = 1 . so 1 cant be the right digit
2^3 = 8 , 2^2 = 4 . can be
3^3 = 27 , 3^2 = 9 can be
……and so on . the number 0,1,5,6, cant be at the right digit
in this way you can check the 2nd digit too . and thats it
bythway . in the test i built a scanner ( program . but i had small miskate in the algorithm . so i didnt get anynumber .;[