Let $p$ be a prime and let $a$ and $d$ be integers such that $0\leq a<d$. Each $x\in\mathbb{Z}_{p^d}$ can be written uniquely as $$ x=j+k\,p^a $$ for some integers $0\leq j < p^a$ and $0\leq k < p^{d-a}$.
Let $b$ and $c$ be nonnegative integers such that $a+b\leq d$ and $c<p^b$. Prove that $$ j+k\, p^a \mapsto j+k p^a + ck p^{d-b} \, (\text{mod }p^d) $$ is a permutation of $\mathbb{Z}_{p^d}\rightarrow \mathbb{Z}_{p^d}$.
I need to prove that the mapping is injective, so suppose $j,j',k,k'$ are integers such that $$ j+k p^a + ck p^{d-b} \equiv j'+k' p^a + ck' p^{d-b}\, (\text{mod }p^d). $$ That is, $$ j-j'\equiv (k'-k) (p^a + cp^{d-b})\, (\text{mod }p^d). $$ How does one know that this can happen if and only if $j=j'$ and $k=k'$?