Define $$f(n):=\sum_{j=1}^n j^{n+1-j}=1+2^{n-1}+3^{n-2}+\cdots+(n-1)^2+n$$ for a positive integer $n$.
With PARI/GP, this function can be calculated with the self-defined function
f(n)=sum(j=1,n,j^(n+1-j))
Question $1$ : Is $f(n)$ only a perfect power for $n=3$ ?
I checked upto $n=10^4$ and only found one perfect power, namely for $n=3$. I do not even have an idea for the perfect squares. The PARI/GP-code for those who want to extend the search limit :
gp > for(m=1,10^4,if(ispower(f(m))>0,print1(m," ")))
3
gp >
Question $2$ : If $f(n)$ only prime for $n=2$ and $n=34$ ?
Upto $n=7\ 400$ , there are no other primes $f(n)$.
It seems that $f(n)$ cannot be easily calculated with a formula. So, I think I cannot use fast primality testing tools like PFGW, but someone might have a faster software for testing general numbers.
The first such number from which I do not know a prime factor, is $f(138)$. So, small factors are not forced, hence I guess we can only search for further primes.
To get a better intuition about the possible primality of $f(n)$ I've looked at periodicities in its primefactorizations.
Some short heuristics.
Primefactor $2$:
We analyze the sequences of p-adic valuations for that primefactor below.
Primefactor $p=3$:
with some vector $R$ of length $(p-1) \cdot p$ and residues $\pmod {(p-1) \cdot p^2}$ having
$\qquad R=[2,7,10,15,17,18]$
for $\qquad n_{j,k}=r_j+18k \qquad $ we have $ p \mid f(n)$
Primefactor $p=5$:
with some vector $R$ of length $p \cdot (p-1)$ and residues $\pmod {(p-1) \cdot p^2}$ having $\qquad R=[5, 8, 13, 14, 16, 21, 44, 47, 49, 55, 62, 63, 70, 71, 78, 86, 92, 97, 99, 100]$
for $\qquad n_{j,k}=r_j+100k \qquad$ we have $ p \mid f(n)$
Primefactor $p=7,11,13,...$:
This is heuristically and in all tested cases analogue for the other small primefactors
We can even assume, that the higher p-adic valuations are periodic with $(p-1) \cdot p^A$ with stepwidth of $n$ like $(p-1) \cdot p^A$ . There is something more to say, but I can transfer the empirical tabular results to precise formulae only later.
Possibly we can say something about the covering of $f(n)$ by this periodicity of the primefactors, and how many holes per primefactor can occur allowing $f(n)$ to be composed by one prime factor alone.
Some initial impression: