All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 The 90 turkeys (Posted on 2008-11-27)
Last December, at Christmas Eve, Nagib called his three sons, Abdon, Fairuz and Samara, and gave them 90 turkeys to be sold at the fair.

- "Abdon, you will carry 10 turkeys. You, Fairuz, will carry 30 turkeys, and Samara the remaining 50 turkeys, and each one of you has to bring me \$1,500 after selling all the turkeys.

Abdon is free to devise the strategy you all will use, that is, the price of one turkey established by Abdon for a group of turkeys must be exactly the same that you two have to follow.

Explaining better a two-step strategy: if Abdon decides to sell 4 of them by \$1200 (\$300 each), you two must sell any quantity you want, but by the same unit price (\$300 each turkey). Then, if Abdon decides to sell the remaining 6 turkeys he has by \$300 (\$50 each), you two must sell your remaining turkeys by this same unit price (\$50 each turkey).

But, I am not forcing that the strategy devised by Abdon must consist of only two steps. I gave you just an example which, by the way, doesn´t work for what I want. Moreover, in the strategy devised, in each step all three must sell at least one turkey, by an unitary price greater than zero."

What is the strategy devised by Abdon to insure that each one gathers exactly \$1,500 for the turkeys they carried to the fair?

 See The Solution Submitted by pcbouhid No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
 all 2-step solutions with integral dollar prices | Comment 7 of 13 |
`price    15            165A        1             9F        23            7S        45            5        price    10            210A        3             7F        24            6S        45            5        price    25            275A        5             5F        27            3S        49            1        `

and of course the reversal of the columns (rounds of selling).

FOR an1 = 1 TO 5
an2 = 10 - an1
ap1 = 1
DO
ap2 = (1500 - an1 * ap1) / an2
IF ap2 < 1 THEN EXIT DO
IF ap2 = INT(ap2) THEN
FOR bn1 = 1 TO 29
bn2 = 30 - bn1
IF bn1 * ap1 + bn2 * ap2 = 1500 THEN
FOR cn1 = 1 TO 49
cn2 = 50 - cn1
IF cn1 * ap1 + cn2 * ap2 = 1500 THEN
PRINT ap1, ap2
PRINT an1, an2
PRINT bn1, bn2
PRINT cn1, cn2
PRINT
END IF
NEXT
END IF
NEXT
END IF
ap1 = ap1 + 1
LOOP
NEXT an1

 Posted by Charlie on 2008-12-02 18:44:04
Please log in:
 Login: Password: Remember me: Sign up! | Forgot password

 Search: Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (2)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information