This is a very simple mathematical relationship I found out about recently and which I rather like. I don’t claim to be original here. I’m sure it’s been covered by many people before me.
Here’s an example:
12 = 1
22 = 4 = 1 + 3
32 = 8 = 1 + 3 + 5
42 = 16 = 1 + 3 + 5 + 7
52 = 25 = 1 + 3 + 5 + 7 + 9
You’ll notice that the square numbers are being formed by sums of consecutive odd numbers, starting at 1. I don’t have a mathematical proof for this (although I’m sure one exists), but it appears to work for any even power. I wrote a quick computer program to try the same with the 10th power, and sure enough, it works:
110 = 1
210 = 1024 = (first 32 odd numbers)
310 = 59049 = (first 243 odd numbers)
410 = 1048576 = (first 1024 odd numbers)
510 = 9765625 = (first 3125 odd numbers)
Do you notice the curious relationship between the raised base and the number of summed odd numbers required to reach it? Here’s another way to write it:
12 = 1
322 = 1024
2432 = 59049
10242 = 1048576
32152 = 9765625
So the raised base is the square of the number of summed odd numbers required to reach it. In other words, where “y” is any positive even number:
(You may recognise “2n – 1” as being the way you calculate the nth odd number starting from 1.)
We can actually simplify it a little however. Notice that we’re taking the square root of a power? A root is actually just a fraction of a power, i.e. a square root is the power 1/2, and a cube root is the power 1/3.
As such, we can simplify this by multiplying the powers together, which means simply dividing the power y in half on our summation. But now we have uncovered a (very bizarrely convoluted) demonstration of why this doesn’t work for all odd powers — if you divide an odd number in half, you get a fraction of a number, so (generally speaking) you will end up trying to carry the summation on to an non-integer limit, which is not possible.
(It’s worth noting that it does work with odd powers where the base is itself a square number, since that allows the lingering square root in the power to be kind of ‘cancelled’ out, giving an integer in the end.)
Anyway, here’s a slightly simplified form of the equation, where “y” is any positive integer:
You could also write the exponent over the summation as just “y/2”, but this communicates a little better that our final exponent ought to be even.
Now, I’m sure you’re wondering why on earth that is useful, given that you still need to figure out a power in order to calculate how many odd numbers you need to add up in order to calculate your first power. And you are probably right… it’s not much good… unless the exponent you are dealing with is a power of 2… in which case you could conceivably perform some nested summations, where you calculate the upper limit of a given summation using another summation, and so on, all the way from 1 up to half of your original exponent.
The nested summation sounds complicated though! That will be a challenge for another day perhaps. Or at least, when I’ve had more caffeine.