×

Calculating the cardinality of some classes of binary matrices using bitwise operations – a polynomial algorithm. (English) Zbl 1492.68147

Summary: Let \(\Lambda_n^k\) be the set of all \(n \times n\) binary matrices with exactly \(k\) units in each row and each column, \(1 \leq k \leq n\). A matrix \(A \in \Lambda_n^k\) will be called primitive, if there is no \(l \times l\) submatrix of \(A\) that belongs to the set \(\Lambda_l^k\), \(k \leq l < n\). The article describes a polynomial algorithm, which works in time \(O(n^2)\) for verifying whether a \(\Lambda_n^k\)-matrix is primitive. The work applies this algorithm for finding all primitive \(\Lambda_n^k\)-matrices which rows and columns are in lexicographically nondecreasing order (semi-canonical binary matrices) for some integers \(n\) and \(k\).

MSC:

68W40 Analysis of algorithms
05B20 Combinatorial aspects of matrices (incidence, Hadamard, etc.)
15B34 Boolean and Hadamard matrices

Software:

OEIS
Full Text: DOI

References:

[1] Anand, H., Dumir, V. C. and Gupta, H., A combinatorial distribution problem, Duke Math. J.33(4) (1966) 757-769. https://doi.org/10.1215/S0012-7094-66-03391-6 · Zbl 0144.00401
[2] Good, I. J. and Crook, J. F., The enumeration of arrays and a generalization related to contingency tables, Discrete Math.19(1) (1977) 23-45. · Zbl 0415.05008
[3] Gupta, H. and Nath, G. L., Enumeration of stochastic cubes, Notices Amer. Math. Soc.19 (1972) A-568. · Zbl 0275.05004
[4] Kostadinova, H. and Yordzhev, K., A representation of binary matrices, in Mathematics and Education in Mathematics, Vol. 39 (Union of Bulgarian Mathematicians, Bulgaria, 2010), pp. 198-206.
[5] Lancaster, P., Theory of Matrices (Academic Press, New York, 1969). · Zbl 0186.05301
[6] Sachkov, V. N. and Tarakanov, V. E., Combinatorics of Nonnegative Matrices, (American Mathematical Society, 2002). · Zbl 1006.05001
[7] N. J. A. Sloane, A229161, a229162, a229163, a229164, a268523, The On-Line Encyclopedia of Integer Sequences, http://oeis.org. · Zbl 1044.11108
[8] Stanley, R. P., Enumerative Combinatorics, , 2nd edn., Vol. 1 (Cambridge University Press, 2011).
[9] M. L. Stein and P. R. Stein, Enumeration of stochastic matrices with integer elements. Technical Report LA-4434, Los Alamos Scientific Laboratory (1970).
[10] Tarakanov, V. E., Combinatorial problems on binary matrices, in Combinatorial Analysis, Vol. 5 (Moscow State University, 1980) (in Russian). · Zbl 0465.05017
[11] Yordzhev, K., Combinatorial problems over binary matrices, in Mathematics and Education in Mathematics, Vol. 24 (Union of Bulgarian Mathematicians, Bulgaria, 1995) (in Bulgarian), pp. 288-296.
[12] Yordzhev, K., An example for the use of bitwise operations in programming, in Mathematics and Education in Mathematics, Vol. 38 (Union of Bulgarian Mathematicians, Bulgaria, 2009), pp. 196-202.
[13] Yordzhev, K., On an algorithm for isomorphism-free generations of combinatorial objects, Int. J. Emerging Trends & Technol. Comput. Sci.2(6) (2013) 215-220.
[14] Yordzhev, K., Semi-canonical binary matrices, in Mathematics and Natural Science, Vol. 1 (Blagoevgrad, Bulgaria, 2015) (South-West University “Neofit Rilski”), pp. 113-124, arXiv:1506.04642. · Zbl 1341.05021
[15] Yordzhev, K., On the cardinality of a factor set of binary matrices, Linear Algebr. Appl.534 (2017) 122-134. · Zbl 1371.15031
[16] Yordzhev, K., On the number of mutually disjoint pairs of \(s\)-permutation matrices, Discrete Math.340(6) (2017) 1442-1448. · Zbl 1369.05028
[17] Yordzhev, K., Canonical matrices with entries integers modulo \(p\), Notes Number Theory Discrete Math.24(4) (2018) 133-143.
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.