Show that there are infinitely many triples of consecutive integers, each of which is a sum of the square of two integers.