Permutations of Numbers from Table Less Than or Equal to 100

AMo

New member
Joined
Feb 11, 2014
Messages
3
I'm currently a student doing A-Level further maths, however this problem has nothing to do with schoolwork. I am working with a friend to create a game and we were just interested in this solution. I've never come across a problem like this before and I'm not even sure how to begin to go about it.

ABCDEF
000000
1020205530
1525155520
101520101515
103025102520
154030153520

You must choose one number from each column therefore totalling 6 numbers. How many combinations are there so that the sum of the numbers is less than or equal to 100?

So if I disregard the conditions, there would be a total of 66 permutations equaling 46656.
The highest sum possible is 165 whereas the lowest would be 0.

I could go about this the long way (by finding all of the combinations equalling greater or equal to 100 and then calculating number of permutations) but I feel that it would be inaccurate and I could be there forever. I'm not sure if there is a quicker and more accurate way to go about it?
 
Can't see any way except a "looper program",
looping a=1 to 6, b=1 to 6, ...., f=1 to 6
and from these picking up numbers in a 6by6 array
that you've filled with the 36 numbers.

33323 cases exist where sum =< 100.

I guess that would've been the easiest way but I have little knowledge of building a 'looper'. If there is no efficient way to do it through normal means of maths then that is a shame. Your answer does help a lot though, thanks.
 
I'm currently a student doing A-Level further maths, however this problem has nothing to do with schoolwork. I am working with a friend to create a game and we were just interested in this solution. I've never come across a problem like this before and I'm not even sure how to begin to go about it.

A
B
C
D
E
F
10
20
20
5
5
30
15
25
15
5
5
20
10
15
20
10
15
15
10
30
25
10
25
20
15
40
30
15
35
20

You must choose one number from each column therefore totalling 6 numbers. How many combinations are there so that the sum of the numbers is less than or equal to 100?

So if I disregard the conditions, there would be a total of 66 permutations equaling 46656.
The highest sum possible is 165 whereas the lowest would be 0.

I could go about this the long way (by finding all of the combinations equalling greater or equal to 100 and then calculating number of permutations) but I feel that it would be inaccurate and I could be there forever. I'm not sure if there is a quicker and more accurate way to go about it?


Is there any "rule" that you followed to fill that grid?
 
Is there any "rule" that you followed to fill that grid?

Save for them being multiples of 5, there isn't really a pattern within the numbers I can see. The numbers actually come from the price of items on the game we were working on, and 100 is the amount of 'cash' each player had.
 
Top