The simplest solution is, to represent a number by a heap of stones. You may disregard the colour shade or sort them into white and black.