find the ones digit of 73 ^ 351
"the units digit of 73 ^ 351 will be the same as the units digit of 3 ^ 351 3 ^ 1 = 3 - - > the units digit is 3 ; 3 ^ 2 = 9 - - > the units digit is 9 ; 3 ^ 3 = 27 - - > the units digit is 7 ; 3 ^ 4 = 81 - - > the units digit is 1 ; 3 ^ 5 = 243 - - > the units digit is 3 again ; . . . so , as you can see the units digit repeats in blocks of 4 : { 3 , 9 , 7 , 1 } , { 3 , 9 , 7 , 1 } , . . . now , since 351 = 348 + 3 = ( multiple of 4 ) + 3 , then the units digit of 3 ^ 351 will be the third number in the pattern thus 7 . answer : d ."
subtract(power(subtract(73, multiply(add(const_3, const_4), const_10)), subtract(351, multiply(floor(divide(351, const_4)), const_4))), multiply(const_2, const_10))