MathDB
No. of cycles of the map x to 3x

Source: KöMaL A. 734

December 20, 2018
combinatoricsnumber theory

Problem Statement

For an arbitrary positive integer mm, not divisible by 33, consider the permutation x3x(modm)x \mapsto 3x \pmod{m} on the set {1,2,,m1}\{ 1,2,\dotsc ,m-1\}. This permutation can be decomposed into disjointed cycles; for instance, for m=10m=10 the cycles are (139,7,1)(1\mapsto 3\to 9,\mapsto 7,\mapsto 1), (26842)(2\mapsto 6\mapsto 8\mapsto 4\mapsto 2) and (55)(5\mapsto 5). For which integers mm is the number of cycles odd?