Suppose that $p$ is a prime number and that $\mathbb{F}_{p^n}[X]$ is the ring of polynomials with one variable, with coefficients in the field $\mathbb{F}_{p^n}$ for some $n\in\mathbb{N}$. Then
$p(X):=X^{p^n}-X\in \mathbb{F}_{p^n}[X]$
is a polynomial, which appears at many places in number theory, for example in the definition of the Carlitz Exponential. (In books about function field arithmetics this polynomial is often called $[1]$, where in general $[k]:=X^{p^{n\cdot k}}-X$)
Now the question is: Since $p(X)=0$ for any $X\in\mathbb{F}_{p^n}$, isn't $f$ just the zero polynomial? The same should be true for all $[k]$, but as this is not mentioned in any book on function field arithmetic, I think I might overlook something.
Maybe someone has something enlightening to say here.
No it is not. The zero polynomial has degree $-\infty$ whereas this polynomial has degree $p^n$. Moreover, $x^{p^n}-x$ has a unique factorization as it is a polynomial over a field, whereas $0$ is infinitely divisible by anything. The key disconnect here is that you are only considering solutions in $\Bbb F_{p^n}$ and you are thinking that a polynomial is determined by its values on too small a set--remember that polynomials of degree $n$ are determined by their values on sets of size $n+1$, so you have a bunch of zeros, but you are missing a final point to uniquely identify this polynomial, and if you take any field extension of $\Bbb F_{p^n}$ you get a non-zero output for that input, which is different from the zero polynomial.