Size of set of all possible configurations: 30
Size of set after removing rules violators: 5
Solution:
Orientation when die is:
Left Center Front
1 6 2
465 514 534
3 2 6
2 3 1
hash = 2465