The form of all such numbers in base $n$ is $1000...000$, or $1$ followed by $m-1$ zeroes.
Hence the sum of all digits in each number of form $n^m$, base $n$, is $1$, which is not prime.
The form of all such numbers in base $n$ is $1000...000$, or $1$ followed by $m-1$ zeroes.
Hence the sum of all digits in each number of form $n^m$, base $n$, is $1$, which is not prime.