The hyper cube on the left below displays cell contents in base 10. The hyper cube on the right uses base 3.
The algorithm use base n, where n is the row size in the hyper cube. Each cell in the hyper cube has d digits, where d is the number of dimensions in the hyper cube. The digits range from 0 to (RowSize - 1).