The Rise and Fall of Power

How can i find the last k digits in n^n,first k digits can be done using logarithms.
Can anyone let me know about last k digits?

If you solved first k digits, last k digits are easier, you can do (n^n)%(10^k).


Thank u… got it

1 Like