  We derive formulas for $(i)$ the number of toroidal $n\times n$ binary
arrays, allowing rotation of rows and/or columns as well as matrix
transposition, and $(ii)$ the number of toroidal $n\times n$ binary arrays,
allowing rotation and/or reflection of rows and/or columns as well as matrix
transposition.
