## Archive for March, 2016

### Tools for Writing Mathematical Blog Posts

Wednesday, 9 March 2016

My previous post was written with the help of a few very useful tools:

• LaTeX mathematical typesetting
• Gummi LaTeX editor
• Python programming language
• PyX Python / LaTeX graphics package
• my own PyPyX wrapper around PyX
• LaTeX2WP script for easy conversion from LaTeX to WordPress HTML

### The Partition Sum of Powers Theorem

Tuesday, 8 March 2016

The set of numbers ${S = \{ 0, 1, 2, \dots, 2^{n+1}-1 \}}$ can be partitioned into two subsets of the same size, such that the two sets have equal sums, sums of squares, sums of cubes, …, up to sums of ${n}$th powers.

For example, for ${n=2}$:

$\displaystyle S = \{ 0, 1, 2, 3, 4, 5, 6, 7 \}$

can be partitioned as

$\displaystyle A = \{ 0, 3, 5, 6 \}, B = \{ 1, 2, 4, 7 \}$

so that

$\displaystyle |A| = |B| = 4$

$\displaystyle 0 + 3 + 5 + 6 = 1 + 2 + 4 + 7 = 14$

and, lastly,

$\displaystyle 0^2 + 3^2 + 5^2 + 6^2 = 1^2 + 2^2 + 4^2 + 7^2 = 70$

Amazingly, this can be done for any non-negative integer ${n}$.