[math-fun] Correction to q^n mod p^n