I am doing some combinatorics exercises and trying to figure out how to solve the question below:
Given a group of 25 bits, set (select) 15 (non-permutable and NON order):
n!/(k!(n-k)!) = 3.268.760
Now for each of these possibilities, we will create a matrix in which I intersect each unique 25-bit element against all other 25-bit members, in the ratio between them there should be at least 11 common set bits (only one, not zeros).
Let me illustrate how it is represented as binary data, so the first member will be:
0000000000111111111111111 (10 zeros and 15 ones) or (15 bits set on 25 bits)
0000000001011111111111111 second member
0000000001101111111111111 third member
0000000001110111111111111 and so on....
...
1111111111111110000000000 up to here. The 3.268.760 member.
Now the intersection of these values in the matrix for 1 x 1 I should have 15 bits. Since the result is> = 11, this is a “useful” result.
For 1 x 2, we have 14 bits, as well as a valid result.
, , 1 x 3.268.760 5- , < 11 "".
( ), , , 11 .
, N , , , 11 , 3.268.760 x 3.268.760 .
, , 81 25- . , ( 12).
, 12 3.268.760,
, (3,156x10e69 ).
, , , .
, .
PS: . "" :
(Not(a xor b)) and a
.
: (@btilly) ""
( 15 ) ( 11 ) 10 .
4096.