Calculating a^n