Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@JosephAdams Consider the wreath product structure of the Lamplighter group. All you need to do is to choose $i$ and $j$ in such a way that $a^ib^j$ lies in the base group.
@GerryMyerson I added a reference (quickly found by googling for the sequence of numbers which can be represented as a sum of a prime number and a nonnegative perfect power in exactly one way).
@GerryMyerson I just ran a little GAP program out of idle curiosity. Googling for 1771561 didn't immediately turn up anything useful, otherwise I would have included a link (e,g, the proofwiki one).
@GerryMyerson 0 and 1 are counted as perfect powers of nonnegative integers (it would seem artificial to exclude them, doesn't it?). So, $5 = 5+0^2$, $8 = 7+1^2$, $24 = 23+1^2$ and $1549 = 1549+0^2$.
@GerryMyerson May it be that you confused "perfect power of a nonnegative integer" and "prime power"? -- We have $905 = 5 + 30^2 = 229 + 26^2 = 421 + 22^2 = 709 + 14^2 = 761 + 12^2$. I am not aware of a reference at the moment.
@WillSawin Nice examples are welcome in any case. Just the smallest solution (respectively, smallest non-zero or smallest positive solution, if applicable) should exceed the given bound.