a^n=a^{mp^\beta}\pmod {p^{\alpha+\beta}}