I am looking for a solution for a biological problem. I have a $10 \times 10$ matrix that I need to fill with $10$ molecules. They can occupy any cell in the matrix (they don't need to be next to each other) but the resulting pattern has to be unique, i.e. cannot be simply rotated or translated into the same pattern. Mirror symmetry is not allowed. You can consider it a binary problem where the ten molecules are represented by ten $1$s and the rest of the $90$ spaces in the matrix are $0$s. As far as I can tell after searching on this site, the answer is a variation of the Polya enumeration but none of the answers give the exact result to my particular problem. I started out thinking about this as a simple combinatorial problem of $C(100,10).$ However, that does not take into account the rotational and translational symmetry needed to reduce the number to only the unique patterns the ten molecules/digits can create. In more general terms, I am interested in expanding this problem with $M$ molecules within a $N \times N$ matrix.
2026-02-23 03:31:10.1771817470
Finding unique patter of $M$ $1$s in an $N \times N$ matrix, the rest occupied by $0$s
56 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in COMBINATORICS
- Using only the digits 2,3,9, how many six-digit numbers can be formed which are divisible by 6?
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Hard combinatorial identity: $\sum_{l=0}^p(-1)^l\binom{2l}{l}\binom{k}{p-l}\binom{2k+2l-2p}{k+l-p}^{-1}=4^p\binom{k-1}{p}\binom{2k}{k}^{-1}$
- Algebraic step including finite sum and binomial coefficient
- nth letter of lexicographically ordered substrings
- Count of possible money splits
- Covering vector space over finite field by subspaces
- A certain partition of 28
- Counting argument proof or inductive proof of $F_1 {n \choose1}+...+F_n {n \choose n} = F_{2n}$ where $F_i$ are Fibonacci
Related Questions in POLYA-COUNTING-THEORY
- Deriving formula for necklace like objects
- Among all 10 digit numbers, how many are there satisfying that the product of all digits ends in at least 5 zeros?
- Coloring of board with periodic boundary conditions (Pólya enumeration)
- If $\phi: G \cong H, c_k: S_k \to \Bbb{N}$ s.t. $c(\pi)$ is the no. of cycles in the decomposition of $\pi$, is $c_k(\phi(g)) = c_{k'}(\phi'(g))$?
- Number of $n$-element subsets of $\{1, 2, \dotsc, 3n\}$ with sum divisible by $n$
- generating the combinations which are fixed under symmetry operation
- Polya Enumeration Theorem cycle index variable interpretation
- Square coloring problem only using 2 colors
- Colorings of a $3\times3$ chessboard
- Finding coefficients when applying polya's theorem
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
I'll do this specifically for $M=10$ molecules in an $N\times N$ matrix. Some details depend on the residue of $M\bmod4$, so you'll need to make some small adjustments if you want to use an $M$ with a different residue, but I hope to explain the reasoning sufficiently for you to be able to make those adjustments on your own.
We can deal with translations by counting the number of configurations that fill certain bounding boxes. We can deal with rotations by accounting for rotational symmetry by dividing the counts by appropriate factors.
So let's count the patterns that fill a bounding box of width $w$ and height $h$. There are $wh$ cells in the bounding box, so the basic count of patterns is $\binom{wh}M$. But we mustn't count patterns that don't actually fill the bounding box. That yields $4$ conditions, which we can enforce by inclusion–exclusion.
There are $\binom{w(h-1)}M$ patterns that don't use the top row of the bounding box, another $\binom{w(h-1)}M$ for the bottom row, and then $2\binom{(w-1)h}M$ for the left and right column. There are $4$ pairs of a row and a column, and for each pair there are $\binom{(w-1)(h-1)}M$ patterns that don't use it. There are $\binom{w(h-2)}M$ patterns that use neither the top nor the bottom row, and $\binom{(w-2)h}M$ that use neither the left nor the right column. For three conditions violated simultaneously, the total count is $2\binom{(w-1)(h-2)}+2\binom{(w-2)(h-1)}M$, and for all four conditions simultaneously $\binom{(w-2)(h-2)}M$. (If one of the dimensions is $1$, the corresponding contributions with $-2$ shouldn't be included.) Thus, in total, the number of patterns that fill the entire bounding box is
$$ \binom{wh}M-2\binom{w(h-1)}M-2\binom{(w-1)h}M+4\binom{(w-1)(h-1)}M+\binom{w(h-2)}M+\binom{(w-2)h}M-2\binom{(w-1)(h-2)}M-2\binom{(w-2)(h-1)}M+\binom{(w-2)(h-2)}M\;. $$
Each of these can be translated to $(N-w+1)(N-h+1)$ different positions. We should only count one quarter of them, since the rest can be generated by rotations through multiples of $\frac\pi2$.
A pattern can only be rotated into itself through $\pi$. (For rectangular bounding boxes, this is true for general $M$, since rotating through $\frac\pi2$ would swap the dimensions of the bounding box. For square bounding boxes this is only true because $M\not\equiv0,1\bmod4$, so there's no way to have $4$-fold symmetry with $M$ molecules.)
To count the patterns that are invariant under a rotation through $\pi$ about the centre of the bounding box, form pairs of cells in the bounding box that are rotated into each other and hence must have the same fill status for the pattern to be invariant. If $w$ and $h$ are both odd, there's one cell in the middle that doesn't get paired. Since $M=10$ is even, this can't be filled in a rotationally invariant pattern. Thus, there are $\binom{\left\lfloor wh/2\right\rfloor}{M/2}$ rotationally invariant patterns. Of these we should count $\frac12$ instead of $\frac14$. But now we also have to figure out how many of these don't actually fill the entire bounding box. An inclusion–exclusion count similar to the one above (but now with only two conditions, due to the rotational symmetry) shows that there are
$$ \binom{\left\lfloor wh/2\right\rfloor}{M/2}-\binom{\left\lfloor w(h-2)/2\right\rfloor}{M/2}-\binom{\left\lfloor(w-2)h/2\right\rfloor}{M/2}+\binom{\left\lfloor (w-2)(h-2)/2\right\rfloor}{M/2} $$
rotationally invariant patterns that fill the entire bounding box.
Thus, in total we have
$$ \frac14\sum_{w=1}^N\sum_{h=1}^N\left( \binom{wh}M-2\binom{w(h-1)}M-2\binom{(w-1)h}M+4\binom{(w-1)(h-1)}M+\binom{w(h-2)}M+\binom{(w-2)h}M-2\binom{(w-1)(h-2)}M-2\binom{(w-2)(h-1)}M+\binom{(w-2)(h-2)}M+\binom{\left\lfloor wh/2\right\rfloor}{M/2}-\binom{\left\lfloor w(h-2)/2\right\rfloor}{M/2}-\binom{\left\lfloor(w-2)h/2\right\rfloor}{M/2}+\binom{\left\lfloor (w-2)(h-2)/2\right\rfloor}{M/2}\right) $$
equivalence classes of patterns under translational and rotational symmetry.
Let's check this for the case $N=2$, which we can easily count by hand. (The next case where it's applicable without adjustment, $N=6$, is already difficult to count by hand.) There's no contribution from $w=h=1$. The remaining terms yield
$$ \frac14\left(2\left(\binom22+\binom11\right)+\binom42-4\binom22+\binom21\right)=2\;, $$
in agreement with a count by hand.