Seems like it could be generalized to something more like a base 5 where the positions are rotated.
It's sort of funny how both Kaktovik and the D'ni numerals were invented around the same time (1994 for Kaktovik and 1997 for when Riven was released).