Compute where is an integer and is a very large number represented as an array of digits.
For example, and means . You need .
The array can have thousands of digits, so you can't convert it to an integer directly. You need a way to compute the exponent piece by piece.