The direction of vector $A$ is radially outward from the origin, with $|A|=kr^n$ where $r^2=x^2+y^2+z^2$ and $k$ is a constant. The value of $n$ for which $\triangledown.A=0$ is