find the ones digit of 73 ^ 355
the units digit of 73 ^ 355 will be the same as the units digit of 3 ^ 355 . 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 355 = 352 + 3 = ( multiple of 4 ) + 2 , then the units digit of 3 ^ 355 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(355, multiply(floor(divide(355, const_4)), const_4))), multiply(const_2, const_10))