If i have 2 elements a total conbination can be 2*2 = 4 right?
Matrix 2 * 2
* *
* *
matrix 3*3
* * *
* * *
* * *
so if have 128 elements, 128 * 128 is the toltal possible elements that can be?
I am right?
If i have 2 elements a total conbination can be 2*2 = 4 right?
Matrix 2 * 2
* *
* *
matrix 3*3
* * *
* * *
* * *
so if have 128 elements, 128 * 128 is the toltal possible elements that can be?
I am right?
Hello darkmoon123Yes, it will. The number of ways of choosing each bit is $\displaystyle 2$; there are $\displaystyle 128$ choices to be made, so there are $\displaystyle 2^{128}$ combinations altogether.2^128 will be the right answer?
What I'm not too clear about is what this has to do with your matrix pattern:This, your first posting, appears to fit in with what stapel said, which is:If i have 2 elements a total conbination can be 2*2 = 4 right?
Matrix 2 * 2
* *
* *
matrix 3*3
* * *
* * *
* * *
so if have 128 elements, 128 * 128 is the toltal possible elements that can be?
I am right?In which case the answer is $\displaystyle 128^2$.Are you saying that you have 128 distinguishable elements, and you're trying to find the number of combinations of any two of them, assuming repetition is allowed?
So let's be clear:
- If you have $\displaystyle 128$ items, each of which can be chosen in $\displaystyle 2$ ways, then there are $\displaystyle 2^{128}$ ways to choose all $\displaystyle 128$ items.
- If you have $\displaystyle 2$ items, each of which can be chosen in $\displaystyle 128$ ways, then there are $\displaystyle 128^2$ ways to choose the $\displaystyle 2$ items.
Grandad