Wiseguy_Combinations

In this system user choose 15 numbers,with relevant no of rows generated,In this rows filter no of 1’s, x’s, and 2’s .

For example, Here list of match numbers,

1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2
1  X  2

so one by one select increase no of rows[set of combinations] upto 1,43,48,907 combinations generated.

In above list i choose each row with[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1] and first two row with extra select[x,2] number2,here each row with one selection is must, so 15 selections is generated 1 rows,16 selection is 2, 17 selection is 3 and so on.

Here,selected numbers generated 9 rows, like this,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
1,X,1,1,1,1,1,1,1,1,1,1,1,1,1
1,2,1,1,1,1,1,1,1,1,1,1,1,1,1
X,1,1,1,1,1,1,1,1,1,1,1,1,1,1
X,X,1,1,1,1,1,1,1,1,1,1,1,1,1
X,2,1,1,1,1,1,1,1,1,1,1,1,1,1
2,1,1,1,1,1,1,1,1,1,1,1,1,1,1
2,X,1,1,1,1,1,1,1,1,1,1,1,1,1
2,2,1,1,1,1,1,1,1,1,1,1,1,1,1

In this rows with specified condition as follows:

No of 1 with minumn 0 and maximum 15
No of X with minumn 0 and maximum 15
No of 2 with minumn 0 and maximum 15

No of 1 in a row with minumn 0 and maximum 15
No of x in a row with minumn 0 and maximum 15
No of 2 in a row with minumn 0 and maximum 15

For Example,

No of 1 in a above list,For example

        Min        Max

No of 1 1 13

X,X,1,1,1,1,1,1,1,1,1,1,1,1,1
X,2,1,1,1,1,1,1,1,1,1,1,1,1,1
2,X,1,1,1,1,1,1,1,1,1,1,1,1,1
2,2,1,1,1,1,1,1,1,1,1,1,1,1,1

this list filtered.

And

No of x in a Given list.For example

                 Min        Max

No of X 1 2

1,X,1,1,1,1,1,1,1,1,1,1,1,1,1
X,1,1,1,1,1,1,1,1,1,1,1,1,1,1
X,X,1,1,1,1,1,1,1,1,1,1,1,1,1
X,2,1,1,1,1,1,1,1,1,1,1,1,1,1
2,X,1,1,1,1,1,1,1,1,1,1,1,1,1

In this list,we select minimum no of 1,and maximum no of 2 selected rows filtered.so this selected numbers generated 5 rows.

And other conditions are,

No of 1 in a row
No of x in a row
No of 2 in a row

No of 1 in a row with a given list,choose conditions[Filtered Conditions]

                         Min        Max

No of 1 in a row 1 13

1,X,1,1,1,1,1,1,1,1,1,1,1,1,1
1,2,1,1,1,1,1,1,1,1,1,1,1,1,1
X,X,1,1,1,1,1,1,1,1,1,1,1,1,1
X,2,1,1,1,1,1,1,1,1,1,1,1,1,1
2,X,1,1,1,1,1,1,1,1,1,1,1,1,1
2,2,1,1,1,1,1,1,1,1,1,1,1,1,1

In this list,we choose minimum no of 1,and maximum no of 13 selected rows filtered.so this selected numbers generated 6 rows.

So,i get filtered only small no of rows,but large rows generated,above 10000000,the system have very slow,so i rectify this problem,i want maths formula to find this solution,only for filter solution is must,

so anybody know this logic or maths formula or alternate solution,reply me
.any doubt send your suggestion to my mail id[selva123_saran@yahoo.co.in]
reply

//