Complete Power Decomposition Law Verifier

Law 1: Kb(nk) = (Kb(n))k

Law 2: Pb(nk) = (Pb(n))k