Lomonaco and Kauffman developed a knot mosaic system to introduce a precise and workable definition of a quantum knot system. We will construct an agorithm producig the presice value of the total number of all knot (m.n)-mossaic.