Papers by Krasimir Yordzhev
24 paper(s) by this author
· All BibTeX
On some classes of binary matrices
Published in Notes on Number Theory and Discrete Mathematics, 31(4), 728-735 (2025)
• View Publication
• BIB
The work considers the set $Λ_n^k$ of all $n\times n$ binary matrices having the same number of $k$ units in each row and each column. The article specifically focuses on the matrices whose rows and columns are sorted lexicographically. We examine some particular cases and special properties of this matrices. Finally, we demonstrate the relationship between the Fibonacci numbers and the cardinality of two classes of $Λ_n^k$-matrices with lexicographically sorted rows and columns.
On A. V. Anisimov's problem for finding a polynomial algorithm checking inclusion of context-free languages in group languages
Published in Filomat, 2024, Volume 38, Issue 12, Pages: 4157-4166
• View Publication
• BIB
The work investigates the problem of whether a context-free language is a subset of a group language. A.~V. Anisimov has shown that the problem of determining the unambiguity of finite automata is a special case of this problem. Then the question of finding polynomial algorithm verifying the inclusion of context-free languages in group languages naturally arises. The article focuses on this open problem. For the purpose, the paper describes an unconventional method of description of context-free languages, namely a representation with the help of a finite digraph whose arcs are labelled with a specially defined monoid $\mathcal{U}$. Also, we define a semiring $\mathcal{S}_\mathcal{U}$ whose elements are the set $2^\mathcal{U}$ of all subsets of $\mathcal{U}$ and with operations - product and union of the elements of $2^\mathcal{U}$. The described algorithm executes no more than $O(n^3)$ operations in $\mathcal{S}_\mathcal{U}$.
On some randomized algorithms and their evaluation
Published in Mathematics and Informatics, 63 (2) 2020, 202-217, ISSN 1310-2230
• Search Publication
The paper considers implementations of some randomized algorithms in connection with obtaining a random $n^2 \times n^2$ Sudoku matrix with programming language C++. For this purpose we describes the set $Π_n$ of all $(2n) \times n$ matrices, consisting of elements of the set $\mathbb{Z}_n =\{ 1,2,\ldots ,n\}$, such that every row is a permutation. We emphasize the relationship between these matrices and the $n^2 \times n^2$ Sudoku matrices. An algorithm to obtain random $Π_n$ matrices is presented in this paper. Several auxiliary algorithms that are related to the underlying problem have been described. We evaluated all algorithms according to two criteria - probability evaluation, and time for generation of random objects and checking of belonging to a specific set. This evaluations are interesting from both theoretical and practical point of view because they are particularly useful in the analysis of computer programs.
Canonical matrices with entries integers modulo p
Published in Notes on Number Theory and Discrete Mathematics, Vol. 24, No. 4, 2018, 133-143
• View Publication
• BIB
The work considers an equivalence relation in the set of all $n\times m$ matrices with entries in the set $[p]=\{ 0,1,\ldots , p-1 \}$. In each element of the factor-set generated by this relation, we define the concept of canonical matrix, namely the minimal element with respect to the lexicographic order. We have found a necessary and sufficient condition for an arbitrary matrix with entries in the set $[p]$ to be canonical. For this purpose, the matrices are uniquely represented by ordered n-tuples of integers.
On an algorithm for receiving Sudoku matrices
Published in Discrete Mathematics Algorithms and Applications, Vol. 9, No. 3, 2017, 1750038 (8 pages)
• View Publication
• BIB
This work examines the problem to describe an efficient algorithm for obtaining $n^2 \times n^2$ Sudoku matrices. For this purpose, we define the concepts of $n\times n$ $Π_n$-matrix and disjoint $Π_n$-matrices. The article, using the set-theoretical approach, describes an algorithm for obtaining $n^2$-tuples of $n\times n$ mutually disjoint $Π_n$ matrices. We show that in input $n^2$ mutually disjoint $Π_n$ matrices, it is not difficult to receive a Sudoku matrix.
On the number of mutually disjoint pairs of S-permutation matrices
Published in Discrete Mathematics, Volume340, Issue 6, 2017, 1442-1448
• View Publication
• BIB
This work examines the concept of S-permutation matrices, namely $n^2 \times n^2$ permutation matrices containing a single 1 in each canonical $n \times n$ subsquare (block). The article suggests a formula for counting mutually disjoint pairs of $n^2 \times n^2$ S-permutation matrices in the general case by restricting this task to the problem of finding some numerical characteristics of the elements of specially defined for this purpose factor-set of the set of $n \times n$ binary matrices. The paper describe an algorithm that solves the main problem. To do that, every $n\times n$ binary matrix is represented uniquely as a n-tuple of integers.
Canonical binary matrices related to bipartite graphs
The current paper is dedicated to the problem of finding the number of mutually non isomorphic bipartite graphs of the type $g=\langle R_g ,C_g ,E_g \rangle$ at given $n=|R_g |$ and $m=|C_g |$, where $R_g$ and $C_g$ are the two disjoint parts of the vertices of the graphs $g$, and $E_g$ is the set of edges, $Eg \subseteq R_g \times C_g$. For this purpose, the concept of canonical binary matrix is introduced. The different canonical matrices unambiguously describe the different with exactness up to isomorphism bipartite graphs. We have found a necessary and sufficient condition an arbitrary matrix to be canonical. This condition could be the base for realizing recursive algorithm for finding all $n \times m$ canonical binary matrices and consequently for finding all with exactness up to isomorphism binary matrices with cardinality of each part equal to $n$ and $m$.
On an application of multidimensional arrays
Published in British Journal of Mathematics & Computer Science, ISSN: 2231-0851, 11(4): 1-7, 2015
• View Publication
• BIB
This article discusses some difficulties in the implementation of combinatorial algorithms associated with the choice of all elements with certain properties among the elements of a set with great cardinality.The problem has been resolved by using multidimensional arrays. Illustration of the method is a solution of the problem of obtaining one representative from each equivalence class with respect to the described in the article equivalence relation in the set of all $m\sim n$ binary matrices. This equivalence relation has an application in the mathematical modeling in the textile industry.
Semi-canonical binary matrices
In this paper, we define the concepts of semi-canonical and canonical binary matrix. Strictly mathematical, we prove the correctness of these definitions. We describe and we implement an algorithm for finding all semi-canonical binary matrices taking into account the number of 1 in each of them. This problem relates to the combinatorial problem of finding all pairs of disjoint S-permutation matrices. In the described algorithm, the bit-wise operations are substantially used.
Calculation of the Number of all Pairs of Disjoint S-permutation Matrices
Published in Applied Mathematics and Computation, Volume 268, 2015, Pages 1-11
• View Publication
• BIB
The concept of S-permutation matrix is considered. A general formula for counting all disjoint pairs of $n^2 \times n^2$ S-permutation matrices as a function of the positive integer $n$ is formulated and proven in this paper. To do that, the graph theory techniques have been used. It has been shown that to count the number of disjoint pairs of $n^2 \times n^2$ S-permutation matrices, it is sufficient to obtain some numerical characteristics of all $n\times n$ bipartite graphs.
On the cardinality of a factor set in the symmetric group
Published in Asian-European Journal of Mathematics,Vol. 7, No. 2 (2014) 1450027
• View Publication
• BIB
Let $n$ be a positive integer, $σ$ be an element of the symmetric group $\mathcal{S}_n$ and let $σ$ be a cycle of length $n$. The elements $α,β\in \mathcal{S}_n$ are $σ$-equivalent, if there are natural numbers $k$ and $l$, such that $σ^k α=βσ^l$, which is the same as the condition to exist natural numbers $k_1$ and $l_1$, such that $α= σ^{k_1} βσ^{l_1}$. In this work we examine some properties of the so defined equivalence relation. We build a finite oriented graph $Γ_n$ with the help of which is described an algorithm for solving the combinatorial problem for finding the number of equivalence classes according to this relation.
Number systems and combinatorial problems
Published in International J. of Pure & Engg. Mathematics (IJPEM), ISSN 2348-3881, Vol. 2 No. II (August, 2014), pp. 21-28
• Search Publication
The present work has been designed for students in secondary school and their teachers in mathematics. We will show how with the help of our knowledge of number systems we can solve problems from other fields of mathematics for example in combinatorial analysis and most of all when proving some combinatorial identities. To demonstrate discussed in this article method we have chosen several suitable mathematical tasks.
On some numerical characteristics of a bipartite graph
Published in Mathematics and Education in Mathematics, Proceedings of the Forty Third Spring Conference of the Union of Bulgarian Mathematicians, Borovetz, April 2-6, 2014
• Search Publication
The paper consider an equivalence relation in the set of vertices of a bipartite graph. Some numerical characteristics showing the cardinality of equivalence classes are introduced. A combinatorial identity that is in relationship to these characteristics of the set of all bipartite graphs of the type $g=\langle R_g \cup C_g, E_g \rangle$ is formulated and proved, where $V=R_g \cup C_g$ is the set of vertices, $E_g$ is the set of edges of the graph $g$, $ |R_g |=m\ge 1$, $|C_g |= n\ge 1$, $|E_g |=k\ge 0$, $m,n$ and $k$ are integers.
On an Algorithm for Isomorphism-Free Generations of Combinatorial Objects
Published in International Journal of Emerging Trends & Technology in Computer Science (IJETTCS), Vol. 2, No. 6 (2013) 215-220
• Search Publication
In the work are defined the concepts semi-canonical and canonical binary matrix. What is described is an algorithm solving the combinatorial problem for finding the semi-canonical matrices in the set Λ_n^k consisting of all n\times n binary matrices having exactly k 1's in every row and every column without perambulating all elements. In the described algorithm bitwise operations are substantially used. In this way it becomes easier to find the solution to the problem for receiving one representative from every equivalence class regarding the introduced in the article equivalence relation in the set Λ_n^k . The last problem is equivalent to the problem for finding all canonical matrices in Λ_n^k .
On an Algorithm for Obtaining All Binary Matrices of Special Class Related to V. E. Tarakanov's Formula
Published in Journal of Mathematical Sciences and Applications, 2013, Vol. 1, No. 2, 36-38
• View Publication
• BIB
An algorithm for obtaining all n\times n binary matrices having exactly 2 units in every row and every column is described in the paper. After analysing the work of the algorithm a formula for calculating the number of these matrices has been obtained. This formula is known and has been obtained using other methods, which by their nature are purely analytical and not constructive. Thus a new, constructive proof of this known formula has been obtained.
Random Permutations, Random Sudoku Matrices and Randomized Algorithms
Published in International J. of Math. Sci. & Engg. Appls. (IJMSEA), ISSN 0973-9424, Vol. 6 No. VI (November, 2012), pp. 291-302
• Search Publication
Some randomized algorithms, used to obtain a random $n^2 \times n^2$ Sudoku matrix, where $n$ is a natural number, is reviewed in this study. Below is described the set $Π_n$ of all $(2n) \times n$ matrices, consisting of elements of the set $\mathbb{Z}_n =\{ 1,2,\ldots ,n\}$, such that every row is a permutation. It is proved that such matrices would be particularly useful in developing efficient algorithms in generating Sudoku matrices. An algorithm to obtain random $Π_n$ matrices is presented in this paper. The algorithms are evaluated according to two criteria - probability evaluation, and time evaluation. This type of criteria is interesting from both theoretical and practical point of view because they are particularly useful in the analysis of computer programs.
Some Combinatorial Problems on Binary Matrices in Programming Courses
Published in Informational Technologies in Education, 2012, 12, 39-43
• View Publication
• BIB
The study proves the existence of an algorithm to receive all elements of a class of binary matrices without obtaining redundant elements, e. g. without obtaining binary matrices that do not belong to the class. This makes it possible to avoid checking whether each of the objects received possesses the necessary properties. This significantly improves the efficiency of the algorithm in terms of the criterion of time. Certain useful educational effects related to the analysis of such problems in programming classes are also pointed out.
Fibonacci sequence related to a combinatorial problem on binary matrices
Published in American Journal Mathematics and Sciences (AJMS), ISSN 2250 3102, Vol. 3, No. 1 (2014), 79--83
• Search Publication
We discuss an equivalence relation on the set of square binary matrices with the same number of 1's in each row and each column. Each binary matrix is represented using ordered n-tuples of natural numbers. We give a few starting values of integer sequences related to the discussed problem. The obtained sequences are new and they are not described in the On-Line Encyclopedia of Integer Sequences (OEIS). We show a relationship between some particular values of the parameters and the Fibonacci sequence.
Bitwise operations related to a combinatorial problem on binary matrices
Published in I.J.Modern Education and Computer Science, 2013, 4, 19-24
• View Publication
• BIB
Some techniques for the use of bitwise operations are described in the article. As an example, an open problem of isomorphism-free generations of combinatorial objects is discussed. An equivalence relation on the set of square binary matrices having the same number of units in each row and each column is defined. Each binary matrix is represented using ordered n-tuples of natural numbers. It is shown how by using the bitwise operations can be implemented an algorithm that gets canonical representatives which are extremal elements of equivalence classes relative to a double order on the set of considered objects.
On the probability of two randomly generated S-permutation matrices to be disjoint
Published in Statistics & Probability Letters, Volume 91, August 2014, Pages 47-51, ISSN 0167-7152
• View Publication
• BIB
The concept of S-permutation matrix is considered in this paper. It defines when two binary matrices are disjoint. For an arbitrary $n^2 \times n^2$ S-permutation matrix, a lower band of the number of all disjoint with it S-permutation matrices is found. A formula for counting a lower band of the number of all disjoint pairs of $n^2 \times n^2$ S-permutation matrices is formulated and proven. As a consequence, a lower band of the probability of two randomly generated S-permutation matrices to be disjoint is found. In particular, a different proof of a known assertion is obtained in the work. The cases when $n=2$ and $n=3$ are discussed in detail.