The fundamental operations in bead aritmetic : how to use the chinese abacus.