Counting Matrices that are Squares
Abstract
On the math-fun mailing list (7 May 2013), Neil Sloane asked to calculate the number of n × n matrices with entries in \0,1\ which are squares of other such matrices. In this paper we analyze the case that the arithmetic is in F2. 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 an be the number elements of Matn(F2) which are squares, and bn be the number of elements of GL(n,F2) which are squares. The numerical results strongly suggest that there are constants α,β > 0 such that an α 2n2, bn β 2n2.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.