Find all functions f:Z→Z such that f(f(f(k)))=k+3 for all k∈Z.
Solution
We use the notation fn:Z→Z,n∈N, for the n-fold iterate of f. Note that f(n+3)=f(f3(n))=f3(f(n))=f(n)+3 which, by an easy induction argument implies that f(n+3k)=f(n)+3k,for all n,k∈Z.(20)
It follows that once we know f for a complete set of mod-3 representatives, such as {0,1,2}, we know all values of f. Furthermore, f induces a function f3:Z3→Z3: just work mod 3 on both the domain and image sides. Moreover, f cannot fix a residue class mod 3 since if f(n)=n+3m, then (20) would imply that f2(n)=n+6m and f3(n)=n+9m, which is inconsistent with the identity f3(n)=n+3. Thus, f3 is a 3-cycle. Bearing in mind (20), it follows that f is defined either by f(n)=⎩⎨⎧n+1+3i,n+1+3j,n+1+3k,n≡0(mod3),n≡1(mod3),n≡2(mod3),(21) or f(n)=⎩⎨⎧n−1+3i,n−1+3j,n−1+3k,n≡0(mod3),n≡1(mod3),n≡2(mod3),(22) for some i,j,k∈Z. In fact, the identity f3(n)=n+3 allows us to compute k in terms of i,j in both cases: in (21), we must have k=−i−j while in (22), we must have k=2−i−j. With these equations, it is routine to check that all of these functions give solutions of the desired identity. In fact, this follows in (21) from the fact that f3 is a 3-cycle so when we apply f three times to any given number n, we are adding 1+3i,1+3j, and 1−3i−3j in some order; the proof for (22) is similar. Note that distinct pairs (i,j) in either (21) or (22) give distinct functions (with k specified as above), and also a function of type (21) never equals a function of type (22) since the associated function f3 is different in both cases (but independent of i and j).
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.