I could really use a talented mathematician's help on this.
In Image #1 I have a $5\times 5$ array with the totals calculated going diagonally. The totals are highlighted in orange and blue with corresponding colored lines showing where the values were obtained. The sums are interwoven - meaning changing one value produces a unique set of totals.
My question is if given only the totals as in Image #2 can the values within the array be recreated. Also this needs to be scaled for example to say a $10\times 10$ array or perhaps more. Without using brute force is there a formula which could accomplish this? Thank you so much in advance. As mentioned by Bram28 this method doesn't give back unique values so what if I constrained it with a third set of sums as in Image #3. Would that work?


