What is the last digit of the number 7¹⁹⁰?
Answers
Answered by
4
Answer:
Step-by-step explanation:
Find Last Digit of a^b for Large Numbers
You are given two integer numbers, the base a (number of digits d, such that 1 <= d <= 1000) and the index b (0 <= b <= 922*10^15). You have to find the last digit of a^b.
Examples:
Input : 3 10
Output : 9
Input : 6 2
Output : 6
Input : 150 53
Output : 0
Similar questions