the Smart Beaver ABBYY get hook square matrix now busy study nn size matrix n odd the Smart Beaver consider follow matrix element good Elements main diagonal element secondary diagonal Elements middle row row exactly row number row element middle column column exactly column leave number column right the figure show 55 matrix the good element mark green help Smart Beaver count sum good element give matrix