Every now and then Pickover tosses out an extremely obvious puzzle. Given the following sequence of numbers:

1, 27, 125, 343, 729, 1331, 2197, 3375, x

what is x? Now, when I say “obvious” in this context I should clarify that the solution is relatively straightforward to the math-trained mind. Typically the solutions to such numerical puzzles are along the lines of “The latitude coordinates of the original U.S. colonies multiplied by the longitude coordinates of the same, then add 3.”

Anyway, that was today’s puzzle. The puzzle for April 4 was to find the numbers, A and B, that satisfy the following equation:

A^{B}+ B^{A}= A7

My first impulse was there should be some way to solve for A and B, maybe involving logarithms or something, until I noticed that there were 2 variables and only 1 equation which, per my math classes of long ago, proves difficult. So, a brute force program it was. Surprisingly, there is only 1 solution.

*See [more] for the answers, I mean, if you really care.*

I have a stack of puzzles to work through that should be brute-force-able using a combination of permutation logic and graph techniques. Eventually, I imagine I will be able to assemble a program toolkit to rip through an entire year of these puzzles automatically.