the units digit of ( 35 ) ^ ( 7 ) + ( 93 ) ^ ( 45 ) is :
"any power of anything ending in 5 always has a units digit of 5 . so the first term has a units digit of 5 . done . the second term takes a little more work . we can ignore the tens digit , and just treat this base as 3 . here is the units digit patter for the powers of 3 . 3 ^ 45 has a units digit of 3 of course 5 + 3 = 8 , d"
add(reminder(multiply(reminder(45, const_4), 93), const_10), reminder(35, const_10))