Zackary G.

asked • 09/10/22

Total Possible Combinations Of Mostly Unique Sets

Given X sets of N numbers if at least one number of each set must be unique what is the total number of possible of combinations? First set starts at 1, each sequential number is multiplied by 2 and each sequential set is 10*previous set.


Example, 3 sets, 5 numbers. X=3, N=5

Set 1 [1,2,4,8,16]

Set 2 [10,20,40,80,160]

Set 3 [100,200,400,800,1600]


Example combinations.

[1,2,4,8,160] [1,2,40,80,160] [1,200,40,8,1600]

good(at least one non matching number)


[1,2,4,8,160] [10,20,40,80,160]

bad(already generated/0 non matching numbers)


In plain English, at least one of the numbers must be different than any other set. I need to know what the formula would be to determine how many possible sets there are matching this criteria. I know that X=5 & N=5 = 2592.


I'm new to learning about combinatorics and I'm sure I'll understand how to figure this out eventually but I need an answer sooner rather than later so any help is appreciated, especially a specific formula I can use. Thank you! :)

Zackary G.

After some manual testing in C++ I've come up with some figures but I still can't work out a formula. XINF N1=1| X2 N2=4| X2 N3=9| X2 N4=16| X2 N5=25| X2 N6=36| X3 N2= 8| X3 N3=27| X3 N4=64| X3 N5=125| X3 N6=216| X4 N2=16| X4 N3=75| X4 N4=237| X4 N5=583| X4 N6=1218| X5 N2=32| X5 N3=196| I hope this helps!
Report

09/29/22

1 Expert Answer

By:

Chain L. answered • 09/27/22

Tutor
New to Wyzant

Learn Math Intuitively and Visually

Zackary G.

I don't think this is what I'm looking for, in what I'm trying to describe if X=5 & N=2 then unique sets = 25. Only 1 number must be unique for the set and N = numbers per set. I'm worried I may be wording it incorrectly. Given X sets of N numbers per set where the order does matter how many permutations are possible? I'm not sure that X5,N5=2592 as I originally stated, I may have been wrong. Note below how 1-10,000 are interchangeable as are 2-20,000 however 1&2, 1&20, 10&20, etc. are not. This is what I'm looking for. N=2 is easy to list out manually but N>2 is much more time consuming, that's why a formula would be helpful if it's possible, thanks again. In practice. X(sets)=5 N(numbers)=2 permutations=25 [1, 2] [10, 20] [100, 200] [1000, 2000] [10000, 20000] [1,2] [1, 20] [1, 200] [1, 2000] [1, 20000] [10, 2] [10, 20] [10, 200] [10, 2000] [10, 20000] [100, 2] [100, 20] [100, 200] [100, 2000] [100, 20000] [1000, 2] [1000, 20] [1000, 200] [1000, 2000] [1000, 20000] [10000, 2] [10000, 20] [10000, 200] [10000, 2000] [10000, 20000]
Report

09/28/22

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.