In this article, a recursive formula is obtained by using the simplified substitution of the 3-parameter generalized quaternion left matrix representation. Based on it, the direct formula of nth power calculation including real quaternions, split quaternions, split semi-quaternions, and 1/4-quaternions, is derived, which is more universal to solve the problem of inconvenient calculation with the De Moivres formula when the power n is large. Finally, the correctness of the obtained results is verified by two examples.