Let $g : \mathbb { N } \rightarrow \mathbb { N }$ with $g ( n )$ being the product of the digits of $n$.
(a) Prove that $g ( n ) \leq n$ for all $n \in \mathbb { N }$.
(b) Find all $n \in \mathbb { N }$, for which $n ^ { 2 } - 12 n + 36 = g ( n )$.