If I have 2 lists, with 8 words each, there can only be 2 words per combination, one for each list. Now how many times do I need to run the program to make sure I get all possible outcomes? Please tell me also how to calculate this. By the way, the core generator is the Mersenne Twister for pseudo-random. Just pointing it out.
If I have 2 lists, with 8 words each, there can only be 2 words per combination, one for each list. Now how many times do I need to run the program to make sure I get all possible outcomes? Please tell me also how to calculate this. By the way, the core generator is the Mersenne Twister for pseudo-random. Just pointing it out.
Take first word from list 1. It can be paired with 8 possibilities from list 2. So that is 8 so far.
Take 2nd word from list 1. It can be paired with 8 possibilities from list 2. So that is 8 more ... 16 so far (8*2)
....
Take 8th word from list 1. It can be paired with 8 possibilities from list 2. So that is 8 more ... .. 64 (8*8)
So you had best have a loop of 64 to get all possible outcomes.