0+9=9  pair {0,9} 
1+8=9  pair {1,8} 
2+7=9  pair {2,7} 
3+6=9  pair {3,6} 
4+5=9  pair {4,5} 
0+3=3  pair {0,3} 
1+1=3  pair {1,2}. 
where {m} means that m is the 4adic expression. As well, we define [m] which explicitly means that m is decimal expression. With these expression,
In the above matrix, the summation of the elements of any column, row and diagonal vectors has a unique value {12}. We call this characteristic of a matrices "Magic square condition".
Magic square condition:"The summation of the elements of any column, row and diagonal vectors has a unique value." 
We prepare a dozen of such matrices and name them by A_{0},A_{1},A_{2},B_{0},B_{1},B_{2},C_{0},C_{1},C_{2},D_{0},D_{1},D_{2}. With the dozen matrices, we make four matrices A,B,C,D whoes elements are fourfigure 4adic numbers as follows:
For these combined matrices, the "magic square condition" (for A_{n}, B_{n}, C_{n}, D_{n}) is conserved (satisfied by A,B,C,D). If we choose the dozen 4adic matrices A_{n},B_{n},C_{n},D_{n} (n=0,1,2) very carefully, we can obtain a magic cube. The following is the concrete example. All elements are expressed by 4adic numbers. For example, you can choose the matrix which has only numbers in a place of {100} in 4adic. In the columns, row, diagonal vectors of the choosen matrix, one of (0,1,2,3), (0,0,3,3), (1,1,2,2) appears.



