Please consider:
list1={0,0,0,0,0,0};
list2={1,1,1,1,1,1};
How can I access to the result of
Permutations[Flatten[{list1, list2}]]
(* {{0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1},
{0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1}, and so on*)
But by Tuples?
Tuples[{0,1},12]and after that considers toCountit takes long for longer lists?! – Inzo Babaria Jul 24 '17 at 09:32