The prime-power formula for the minimal period of the generalized digit map
Let M=∏p∣MpapM = \prod_{p|M} p^{a_p}M=∏p∣Mpap and N=K⋅∏p∣MpbpN = K \cdot \prod_{p|M} p^{b_p}N=K⋅∏p∣Mpbp be integers with ap,bp≥1a_p, b_p \ge 1ap,bp≥1 and gcd(K,M)=1\gcd(K,M) = 1gcd(K,M)=1. For each prime factor p∣Mp|Mp∣M, define … The sequence b(n)b(n)b(n)…