i'm not sure i understand the problem...is that word for word from your text.
are they asking for a graph or a numarical sultion?
i'd like to help but i'm not sure what the questian is
At the local grocery store, there is a very strict code that the shop assistants must adhere to. When a customer asks for a certain number of potatoes, he or she must first take potatoes from the crate containing bags of 3 potatoes only and then take potatoes from the crate containing bags of 5 potatoes only. The shop assistant cannot come back to the crate with bags of 3 potatoes. He/she can choose take to as many bags from either crate provided there is at least one taken from each sack.
One day, a customer visited the store and told the shop assistant that he would like X number of potatoes. The shop assistant figured out how he should give the customer the exact number of potatoes he had requested but he discovered there was only one way to do this.
What is X? Find all possible solutions.
Hey Dan, I'm suffering from the same problem you are, I'm not exactly sure what the question is asking.
I believe X could be
where a and b can be any integers larger than 1
is this a suitable answer?
Consider any total T greater than 30. If it can be written:
n,m>0, then it can be met subject to the constraints.
Also (if it can be met) either n>5, or m>3.
Suppose n>5, then:
and as (n-5)>0, and (m+3)>0, T can be met in at least two ways.
A similar argument applies if m>3.
So if X is a total that can be met in exactly one way X<=30
m must be at least >=1, to make up the difference, also maybe theOriginally Posted by cliveanderson
value of 30 can be trimmed a bit (I don't remember why I chose 30
in the end I started out with 23 for this value but revised it upwards
for reasons I don't recall now).
The main idea is that if the number of sacks of 3 is large enough
you can always replace 5 of them by 3 sacks of 5, and the same
sort of argument applies if the number of sacks of 5 is large enough.
Also if the total is can be made up and is sufficiently large either the
number of sacks of 3 or 5 will be large enough, so there will be multiple
ways of making a total given that it can be made.
I don't really like this problem. Consider a customer buying 4 potatoes. It is perfectly legal to get 2 sacs of three and take 4 out of them. But it is also perfectly legal to get a sac of 3 and a sac of 5 and take 4 out of them. In this reason there is no actual value of x unless you put a restriction up...