Win a copy of Penetration Testing Basics this week in the Security forum!

# solve it - simple mathematics!

Vikrama Sanjeeva
Ranch Hand
Posts: 760
A person was about to die, and before dying he wrote his Will which went as
follows ...

"I have 17 Camels, and I have three sons. Divide my Camels in such a way,
that My eldest son gets half of them, the second one gets 1/3rd of the
total and my youngest son gets 1/9th of the total number of Camels"

How will you divide, so that every son get the right number of camels which father wrote in will?

Bye,
Viki.

Scott Johnson
Ranch Hand
Posts: 518
1st son: 17 * 1/2 = 8.500 ==> round up ==> 9
2nd son: 17 * 1/3 = 5.667 ==> round up ==> 6
3rd son: 17 * 1/9 = 1.889 ==> round up ==> 2

Checking: 9 + 6 + 2 = 17

The fathers will has been satisifed because all sons received the proper fraction (plus a little more.)

Shyju Lakshman
Greenhorn
Posts: 4
Actually i have one camel which i shall add to the total . now there are 17+1 = 18 camels.

1st son ==> 18/2 = 9 camels
2nd son ==> 18/3 = 6 camels
3rd son ==> 18/9 = 2 camels

9+6+2= 17 camels.. one camel is left which is mine.. so i am happy, and the father is happy and the sons are happy

Ryan McGuire
Ranch Hand
Posts: 1083
4
According to the problem statement, that's an invalid solution. The will specifically says, "Divide up my camels in such a way that my eldest son gets half of them..." Adding your camel to the original 17 is going against the father's request.

Besides, the father may have realized that he has allocated only 17/18 of his 17 camels and wants the remaining 17/18 of a camel to be used to pay the executor of his estate (you). Mmmm... a half ton of camel jerky.
[ August 07, 2006: Message edited by: Ryan McGuire ]

Vikrama Sanjeeva
Ranch Hand
Posts: 760
Originally posted by Shyju Lakshman:
Actually i have one camel which i shall add to the total . now there are 17+1 = 18 camels.

1st son ==> 18/2 = 9 camels
2nd son ==> 18/3 = 6 camels
3rd son ==> 18/9 = 2 camels

9+6+2= 17 camels.. one camel is left which is mine.. so i am happy, and the father is happy and the sons are happy

100%
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}