I don't think the above equation can, in general, be solved in terms of elementary functions, not even if , and much worse if it isn't a natural number.
In general, and with some additional assumptions, perhaps you can prove there's (or there isn't) a solution (or solutions), but the actual ones I don't think so.
Tonio