Let A be a real square matrix and $I$ the identity matrix of the same size. Let n > 0 be the smallest natural number for which $a_0, a_1, \ldots, a_{n-1} \in \mathbb{R}$ exist such that the following is true:
$A^n+a_{n-1}A^{n-1}+ \ldots +a_1A +a_0I = O$
Prove that A is invertible if and only if $a_0 \ne 0$ .