For five consecutive integers, the sum of squares of the first three numbers equals the sum of squares of the last two numbers

For five consecutive integers, the sum of squares of the first three numbers equals the sum of squares of the last two numbers

Let these five consecutive integers be n, N + 1, N + 2, N + 3, N + 4, N2 + (n + 1) 2 + (n + 2) 2 = (n + 3) 2 + (n + 4) 2, and the solution is n = 10 or n = - 2. When n = 10, these five numbers are 10, 11, 12, 13, 14. When n = - 2, these five numbers are - 2, - 1, 0, 1, 2