Solve Math Challenges & Test Your Skills: Come Play If You Dare!

  • Context: Undergrad 
  • Thread starter Thread starter 121212
  • Start date Start date
Click For Summary

Discussion Overview

The thread presents a series of mathematical challenges involving combinatorial problems and optimization related to distributing objects and minimizing units in transactions. Participants explore various methods to solve these problems, including distributing balls into cups, placing queens on a chessboard, and calculating the minimum number of currency units needed for purchases under certain constraints.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant proposes a formula for distributing 5 balls into N distinguishable cups, suggesting that the total for 500 cups is 265,661,562,600 ways.
  • Another participant challenges this approach, providing a different combinatorial solution involving sums and binomial coefficients.
  • A third participant emphasizes the need for programming to calculate the solutions for larger numbers of cups or queens.
  • Discussion on the chess problem reveals a solution of 1224 setups for placing queens on a 4x4 board, with some participants expressing confidence in their answers.
  • Participants discuss the problem of minimizing currency units for purchases, with suggestions for alternative denominations to achieve a lower average number of units used.
  • Some participants express skepticism about the nature of the problems, questioning whether they are genuine homework assignments or merely games.
  • There are reminders from participants about the importance of not providing direct answers to homework problems, emphasizing the need for students to attempt the work themselves first.

Areas of Agreement / Disagreement

There is no consensus on the best approach to the problems presented. Multiple competing views and methods are discussed, with participants both agreeing and disagreeing on various aspects of the solutions.

Contextual Notes

Participants express uncertainty about the assumptions regarding distinguishability of cups and the nature of the problems, which may affect the solutions. The discussion also highlights the complexity of combinatorial problems and the potential need for computational assistance.

Who May Find This Useful

This discussion may be of interest to those studying combinatorics, optimization problems, or anyone looking to improve their problem-solving skills in mathematics.

121212
Messages
7
Reaction score
0
Come play IF you Dare!

hey i made a little game i need to know if its you guys can calculate it
atleast try ;) :
Code:
You have 5 balls that you have to divide (put the balls in the cups) between a number of cups in all possible ways. 

1 cup: 
--- 
|5| 
--- 
1 possibility 
Total: 1 possibility 

2 cups: 
----- 
|1|4| 
----- 
|2|3| 
----- 
|3|2| 
----- 
|4|1| 
----- 
|5|0| 
----- 
|0|5| 
----- 
6 possibilities
Total: 7 possibilities

3 cups:
21 possibilities 
Total: 28 possibilities 

Continue until you have 500 cups. The total of possibilities from 1 to 500 is the answer.
--------------------------------------------------------------------------
and another one by my friend ! :
Code:
 N = number of Queens.

You have to put N Queens onto a chess board of N * N squares, so that the Queens don't threaten each other. (horizontally, vertically, diagonally)
How many possible setups are there?

Thus: 
How can I put 4 Queens onto a 4*4 board
How can I put 5 Queens onto a 5*5 board
etc... 

Calculate all setups for 4 to 10 Queens, take the sum of the results - the sum is the answer
-------------------------------------------------------------------------
And another one !
-------------------------------------------------------------------------
Code:
 If you want to buy something for less than 100 Euro you can pay with different 'units' (coins and bills).
At the moment the 6 best existing units to use are: 1, 2, 5, 10, 20 and 50.

If you want to buy something (that is less than 100 Euro) you have to use some of those units to pay for it.

Now let's go shopping with these 6 units :)
You are going to search for products that are 1 euro until 99 euro, and you are going to buy one of each. Each time you buy something you choose as less units as possible (you have an infinite amount of units). 

Let's see how many units we need if we use the units 1, 2, 5, 10, 20 and 50:

1 EURO -> only 1 unit: 1
2 EURO -> 1 unit : 2
3 EURO -> 2 units : 1 + 2
..
..
..
98 EURO -> 6 units : 1 + 2 + 5 + 20 + 20 + 50
99 EURO -> 6 units : 2 + 2 + 5 + 20 + 20 + 50

Now we will take the average of the needed units between 1 and 99, which is 3.4 units.
That's quite alright, but we can do better...

Your job is to find the lowest average with 6 different (integer) units. 
Maybe a 3 euro coin is a good idea? And what about a 22 euro bill? Try it out :)

Enter your answer below like this => 1:2:5:10:20:50 (example). 
from lowest to highest coin used

i am going to try to put these on a site and many more > maybe it needs a little programming to ge tthe correct answers

greetz lassie
 
Last edited:
Mathematics news on Phys.org
I think the answer to the first is:

[tex]\frac{(4+N)!}{5!(N-1)!}[/tex]

where N is the number of cups. That is the number of ways to distribute 5 balls over N cups.
So for 500 cups, there are 265,661,562,600 ways.
You shouldn't add up the number of ways for one cup plus the number of ways for 2 cups and so forth.
 
Last edited:
maybe u need to programe something then if you can't calculate it ;)
but keep you head up and you have something to do also

good luck

(use excel)
 
Last edited:
galileo did it WRONG
here is the solution for the first problem:
[tex]\Sigma_{k=5,500} \Sigma_{i=o,k} (-1)^i \left( \begin{array}{cc}k\\i\end{array} \right) (k-i)^5[/tex]
If you have learned combinatorics, the idea is simple. this has no different with putting n indistinguishable balls into k indistinguishable cells which allowed cells empty, sum k up from 5 to 500 and let n be 5, that's it... i am not sure could this be simplify...

edit: is from 1 to 500 instead of 5 to 500
 
Last edited:
the second answer is 1224: 2+10+4+40+92+352+724
don't say my answer is wrong if you can't find the answer...
 
I didn't assume the cups were indistinguishable.
Assume they are distinguishable.
Let's take 7 cups for simplicity. Then consider the following drawing:

[tex]\bullet \vert \bullet \vert \vert \bullet \bullet \vert \vert \vert \bullet[/tex]
The 5 dots depict the 5 balls and the 6 vertical bars distinguish 7 area's which represent the 7 cups. So in this particular arrangement we have 1 ball in the first cup, 1 on the second, cup 3 is empty, there are 2 in the 4th cup, cups 5 and 6 are emtpy and there is one in the 7th cup.

It's clear that any order of the 5 dots and 7 lines gives a way to put the 5 balls in the 7 cups. Since there are 5+6 symbols, there are (5+6)!=11! ways to arrange them.
But permutation of the dots do not give a different arrangement and neither does a permutation of the lines. So the number is:

[tex]\frac{(5+6)!}{5!6!}[/tex]

In general, you can do this for k balls and N cups. You'll have k dots and N-1 bars. So the number of arrangements here is:

[tex]\frac{(k+N-1)!}{k!(N-1)!}[/tex]

The same problem arises in statistical mechanics, when considering the number of ways to put k bosons in N 'energy states'.

Note that I didn't consider the cups indistinguishable. That is, have 5 balls in the first cup is different from having 5 balls in the second cup.

BTW: 121212 didn't consider the cups indistinguishable either.
 
Last edited:
oh, yeah, you are right, the question said the cups are distinguishable, because the title of the post, i assume this is a very hard problem and didn't read it carefully, and your answer is probably right... and isn't that his question itself is ADD UP ALL THE possibility... if not...why did he say we need writing a computer program... this indeed is an easy problem
 
In what class was this given as homework?
 
wow didnt though u would get so far
btw you answer was correct on the chess game :p

i go to sleep now
in that time i got another one for you guys that's also very hard !1 grrr
--------------------------------------------------------------------------
Code:
If you want to buy something for less than 100 Euro you can pay with different 'units' (coins and bills).
At the moment the 6 best existing units to use are: 1, 2, 5, 10, 20 and 50.

If you want to buy something (that is less than 100 Euro) you have to use some of those units to pay for it.

Now let's go shopping with these 6 units :)
You are going to search for products that are 1 euro until 99 euro, and you are going to buy one of each. Each time you buy something you choose as less units as possible (you have an infinite amount of units). 

Let's see how many units we need if we use the units 1, 2, 5, 10, 20 and 50:

1 EURO -> only 1 unit: 1
2 EURO -> 1 unit : 2
3 EURO -> 2 units : 1 + 2
..
..
..
98 EURO -> 6 units : 1 + 2 + 5 + 20 + 20 + 50
99 EURO -> 6 units : 2 + 2 + 5 + 20 + 20 + 50

Now we will take the average of the needed units between 1 and 99, which is 3.4 units.
That's quite alright, but we can do better...

Your job is to find the lowest average with 6 different (integer) units. 
Maybe a 3 euro coin is a good idea? And what about a 22 euro bill? Try it out :)

Enter your answer below like this => 1:2:5:10:20:50 (example). 
from lowest to highest coin used

yah yah this is a hard one ;) :P
 
  • #10
Participants:

Please do not hand out answers to homework problems. You should emphasize technique and methodology, but always leave at least some of the work to the student. Generally, the student must show some of his/her work, up to the point where he/she becomes stuck, before anyone should provide help.

121212:

Please do not attempt to use this site as a way out of your homework. Labelling your homework assignments as "games made by a friend" is ridiculous. If you do not at least make an attempt to do your homework before posting it here, we will not help you.

- Warren
 
  • #11
chroot said:
Participants:
121212:

Please do not attempt to use this site as a way out of your homework. Labelling your homework assignments as "games made by a friend" is ridiculous. If you do not at least make an attempt to do your homework before posting it here, we will not help you.

- Warren

this is not really ment as homework cause a friend of a friend made these
and it is a game to relax but also homework cause u have to do it with your learned maths , and you "Learn" stuff
----edit----
(lol i don't want a teacher that gives me this kinda homework whaha :P)

greetz lassie
 
  • #12
okay, then do you have the answer and do you know how to solve it, if yes, please don't post it here, if no, we won't give you the solution...
 
  • #13
if i didnt solve it would i post it as a game then ?
i just programmed in vb and perl
and i though that maths forum ""grand masters "" would like to solve this game ...
sorry if my attempt on harmony and fun in life is disaccepted here ...
 
  • #14
121212 said:
if i didnt solve it would i post it as a game then ?
i just programmed in vb and perl
and i though that maths forum ""grand masters "" would like to solve this game ...
sorry if my attempt on harmony and fun in life is disaccepted here ...

No, talking about this stuff is fine, but it's not appropriate for the homework section. If you had posted it in, for example, the brain teasers section, nobody would be complaining.
 
  • #15
ok ill do that then ;) thanks anyway :D
greetz
 
  • #16
All the 3 above questions are programming challenges of net-force.nl ... your friend must be trying to solve them without taking any pain ;)

Ive solved first 2 questions a long time before .. to solve the 3rd one, one must brute-force the possible set of answers, and I've nt done that. So, If anyone can solve that .. gimme a buzz.
 
Last edited:
  • #17
lazyidiot said:
Ive solved first 2 questions a long time before .. to solve the 3rd one, one must brute-force the possible set of answers, and I've nt done that. So, If anyone can solve that .. gimme a buzz.

There's the question of how to prove that the answer is optimal without brute force. Perhaps looking at that first will provide some insight?
 
  • #18
Hmm, it seems to matter whether negative denominations are allowed.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 55 ·
2
Replies
55
Views
8K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 68 ·
3
Replies
68
Views
13K
  • · Replies 6 ·
Replies
6
Views
3K