It means I can take any different number of pairs or single elements. If the Number of valid patterns (let a) and the number of rows (let b), then total patterns is a to the power b (a^b). Is it correct? Thank you, Sir
As in my previous example, I took (1,1) pairs all the time. Same as if I take "a" and (b,b) pair. for example, in (0,0,0) if I select "a" and (b,b) pair, i get two patterns (a,b,b) and (b,b,a).
Dear Sir, Thank you for your explanation; I got it. One more question if I take two different numbers 1 and (1,1). Is it possible to compute the total number of patterns? Thank you so much for being so supportive.
Dear Sir, your description is right. But, in your example there are only two valid patterns then it should be 2 x 2 x 2 x 2 = 16. I understand it 3 is 4 times because of the number of rows. But how comes 3?
A 4×3 matrix which has all elements empty, now I select any two consecutive elements until all elements are selected. I assign an index number (1 to 12) to the matrix element, in one row there are only 1,2,3 elements and 3 & 4 are not consecutive.
for example, if I select index 1 & 2 of the...