CCCCCCC CBBBBBC CBAAABC CBAcABC CBAAABC CBBBBBC CCCCCCCTherefore the sums of the numbers located at As, Bs, and Cs are 200, 400, and 600 in the magic square. This square is quite interesting. I found the formula which represents the location of each number.
((N*N+(N-1)/2-[i/N]+i%N)%N, (N*N+(N-1)/2-[i/N]-i%N-1)%N)where "x%N" takes a residue of x under the modulus N, and [x] takes the floor integer of x.