Take a $5\times 5$ grid and populate it with the numbers $1$ to $25$ such that the sum of all rows, columns, and both main diagonals are equal. Additionally, only even numbers are allowed on the corners
I found the "go up one and right one" method but that does not satisfy the odd even restriction.
Through a simple calculation I know that the sum must be equal to $65$.
Are there any tricks or methods to solve this? Or should I just try out multiple configurations and switch up elements until I arrive at the solution?
Just switching up the elements have helped me arrive here. Everything is satisfied except for the diagonals.
I can continue with my random method but there must be some kind of trick which makes it easy.