Given a prime number $p$ and a positive integer $n$, I am interested in the (non)existence of positive integer solutions $x,x_0,\dots,x_{p^n}$ of the following Diophantine equation $$p^x+p^n=\sum_{i=0}^{p^n}p^{x_i}$$ with the restrictions $x<2n$ and $x_i\le n$$x_i<n$ for all $i$.
Observe that for the numbers $x_0=\dots=x_{p^n}=p^n$$x_0=\dots=x_{p^n}=n$ and $x=2n$ we have $$\sum_{i=0}^{p^n}p^n=(p^n+1)\cdot p^n=p^{x}+p^n$$$$\sum_{i=0}^{p^n}p^{x_i}=(p^n+1)\cdot p^n=p^{x}+p^n$$so, the restriction $x<2n$$x_i<n$ is necessaryimposed for ruling out this obvious solution.
Question 1. Determine $p$ and $n$ for which the Diophantine exponential equation $p^x+p^n=\sum_{i=0}^{p^n}p^{x_i}$ does not have positive integer solutions $x,x_0,\dots,x_{p^n}$ with $x<2n$ and $x_i\le n$$x_i<n$?
Question 1 can be also reformulated as follows.
Question 2. Determine $p$ and $n$ for which the Diophantine exponential equationthere exists a polynomial $p^x+p^n=\sum_{k=1}^n x_kp^k$ does not have$f(x)$ of degree $<n$ with non-negative integer solutionscoefficients such that $x,x_0,\dots,x_n$ with restrictions$f(0)=0$, $n<x<2n$$f(1)=p^n+1$ and $\sum_{k=1}^nx_k=2^n+1$?$f(p)=p^n+p^x$ for some $x>n$.
Question 3. What is the answer to Questions 1,2 for $p=2$?