In this paper, we introduce a method finding the matrix of graph of connected sum of torus knot K(2, q) for q=1,3,5,… Then, we show that the dimension of the matrix is ( q−1) k+1, where k is the number of connected sum. Also, for this method a Maple source code is given.