$a,b$ and $c$ are all digits. How many different combinations of $\left ( a,b,c \right )$ are there that makes $a^\left ({b^{c}} \right )$ a prime number?
Obviously $a$ has to be $2,3,5$ or $7$ and $b^{c}$ must equal $1$. When $b=1$, $c$ can be anything.
So $\left (4\cdot 1\cdot 10 \right ) = 40$ is my answer but the answer key says it is 72.