Problem

Source: AMO 2006

Tags: number theory proposed, number theory



For any positive integer $n$, define $a_n$ to be the product of the digits of $n$. (a) Prove that $n \geq a(n)$ for all positive integers $n$. (b) Find all $n$ for which $n^2-17n+56 = a(n)$.