Counting Matrices that are Squares
Victor S. Miller

TL;DR
This paper develops an efficient algorithm to count the number of n x n matrices over GF(2) that are squares of other such matrices, using conjugacy class analysis and connections to Ramanujan's mock Theta functions.
Contribution
It introduces a novel, effective algorithm for counting square matrices over GF(2), leveraging conjugacy class analysis and special integer partitions related to mock Theta functions.
Findings
Number of square matrices grows approximately as a constant times 2^{n^2}.
Number of square invertible matrices also follows a similar exponential growth.
The counting involves connections to Ramanujan's mock Theta functions.
Abstract
On the math-fun mailing list (7 May 2013), Neil Sloane asked to calculate the number of matrices with entries in which are squares of other such matrices. In this paper we analyze the case that the arithmetic is in . We follow the dictum of Wilf ("What is an answer?") to derive a "effective" algorithm to count such matrices in much less time than it takes to enumerate them. The algorithm which we use involves the analysis of conjugacy classes of matrices. The restricted integer partitions which arise are counted by the coefficients of one of Ramanujan's mock Theta functions, which we found thanks to Sloane's OEIS (Online Encyclopedia of Integer Sequences). Let be the number elements of which are squares, and be the number of elements of which are squares. The numerical results…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Mathematical Theories and Applications · Matrix Theory and Algorithms · Advanced Combinatorial Mathematics
