MathLabs

Problem 4

Prove that there is no function ff from the set of non-negative integers into itself such that f(f(n))=n+1987f(f(n)) = n + 1987 for every non-negative integer nn.
Step 3 of 5: Identify B as the difference of two image sets
In plain words

Injectivity prevents an element from being both the image of a missing input and the image of an already-imaged input.

B=f(N0)∖f(f(N0))B=f(\mathbb N_0)\setminus f(f(\mathbb N_0))
Detailed analysis

Certainly B⊆f(N0)B\subseteq f(\mathbb N_0). If b=f(a)b=f(a) with a∈Aa\in A also belonged to f(f(N0))f(f(\mathbb N_0)), then b=f(f(t))b=f(f(t)) for some tt, so injectivity of ff would give a=f(t)a=f(t), contradicting a∈Aa\in A. Conversely, if b=f(t)b=f(t) is not in f(f(N0))f(f(\mathbb N_0)), then tt cannot lie in f(N0)f(\mathbb N_0); hence t∈At\in A and b∈Bb\in B. Therefore B=f(N0)∖f(f(N0))B=f(\mathbb N_0)\setminus f(f(\mathbb N_0)).