1: \begin{abstract}
2: Let $R$ be a finite commutative ring with $1\ne 0$. The set $\mathcal{F}(R)$
3: of polynomial functions on $R$ is a finite commutative ring with pointwise operations.
4: Its group of units $\mathcal{F}(R)^\times$ is just the set of all unit-valued polynomial functions,
5: that is the set of polynomial functions which map $R$ into its group of units.
6: We show that $\mathcal{P}_R(R[x]/(x^2))$ the group of polynomial permutations on the ring
7: $R[x]/(x^2)$, consisting of permutations represented by polynomials over $R$,
8: is embedded in a semidirect product of $\mathcal{F}(R)^\times$ by $\mathcal{P}(R)$ the
9: group of polynomial permutations on $R$. In particular, when $R=\mathbb{F}_q$, we prove
10: that $\mathcal{P}_{\mathbb{F}_q}(\mathbb{F}_q[x]/(x^2))\cong
11: \mathcal{P}(\mathbb{F}_q) \ltimes_\theta \mathcal{F}(\mathbb{F}_q)^\times$.
12: Furthermore, we count unit-valued polynomial functions $\pmod{p^n}$ and obtain canonical
13: representations for these functions.
14: \keywords{Finite Commutative rings\and Unit-valued polynomial functions\and Permutation polynomials\and polynomial functions\and Dual numbers\and semidirect product}
15: % \PACS{PACS code1 \and PACS code2 \and more}
16: % \subclass{MSC code1 \and MSC code2 \and more}
17: \end{abstract}
18: