Since 8 is common for half of the lines we can conclude that by symmetry the list of consecutive numbers should begin with 4 with 8 in the middle.
4, 5, 6, 7, 8, 9, 10, 11, 12
This means for lines that has 8 in it we need extreme values to pair in each line like [4(lowest) , 12(highest)],
[5(2nd lowest) , 11(2nd highest)] to obtain a number that can be reproducible ie.,
8 + 4 + 12 = 24
8 + 5 + 11 = 24
8 + 6 + 10 = 24
8 + 7 + 9 = 24.
Therefore n = 24
Now to do the table we need a diagonal where the value is changing the least 9, 8, 7 will do
Now we have to balance the 3 cells on each side of the diagonal with values that maintain balance.