I am trying to solve this problem of my textbook related to recursive primitive functions and PRC. The problem is the following:
Let $C_i$ be the class of initial functions, i.e., the class that contains:$$n(x)=0, s(x)=x+1, {u_i}^n(x_1,...,x_n)=x_i, \text{for each natural n and some fixed i between 1 and n} $$
and let $C_c$ be the minimal class that contains $C_i$ and is closed by composition, that means, if $f,g_1,...,g_m$ are in $C_c$ then $$h(x_1,...,x_n)=f(g_1(x_1,...,x_n),...,g_m(x_1,...,x_n))$$ is also in the class.
i) Show that for all $f:\mathbb N \to \mathbb N$, $f$ is in $C_c$ if and only if there is $k >=0$ such that $f(x_1,...,x_n)=k$ of $f(x_1,...,x_n)=x_i+k$ for some fixed $i$.
ii) Show that there is a primitive recursive function that is not contained in $C_c$.
I could only show that for any natural $k$, if a function $f$ is of the form $f(x_1,...,x_n)=k$ or $f(x_1,...,x_n)=x_i+k$, then $f$ is in $C_c$. I've proved this by induction, and using the fact that the initial functions are in $C_c$ and that this class is closed by composition. This proof was easy but I couldn't show the other way round, which is, if a function $f$ is in the class, then $f$ has to be of the form mentioned above.
I also can't think of an example of a primitive recursive function which is not in this class.
I would really appreciate help in the part of point i) where I got stuck and in finding some example for ii). Thanks in advance.