Each vertex of a cube is to be labelled with an integer 1 through 8, without repetition, such that sum of numbers of the four vertices of a face is the same for each face. Arrangements that can be obtained through rotations of the cube are considered to be the same. How many different arrangements are possible?
My attempt: Fix 8 on E.
Then, D+C=F+G (Since H is common to both faces)
Similarly, C+H=A+F and D+A=H+G
We can extend this analogy to other sides, and we see that D+E=B+G, E+H=A+B, E+F=B+C.
This means that {1,2}, {1,3}, {7,8}, {8,6} cannot be on one line segment since there are no other distinct numbers which add up to give 3,4,15 or 14 respectively.
How can I get the other conditions?
Edit: As @John and @Alexander mentioned in the comments, the sum of numbers on each face should be 18. The possible sets of numbers on opposite faces will be {8,7,1,2}, {3,4,5,6}; {8,6,1,3}, {4,5,7,2}; {8,5,2,3}, {1,4,7,6} and {8,5,1,4}, {2,3,6,7}.
Case 2 will not have any possibilities since there are no 2 numbers except for 8,3 which add up to 11. In case 4, 4 must be opposite to 8 and in case 1, 7 must be opposite to 8.
Now we can try to count it on a case by case basis, but I can't think of a foolproof method without repetitions. Can someone help :)