Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 
 Interview Questions  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies

  • NEW INTERVIEW QUESTIONS.COM LOGICAL & APTITUDE INTERVIEW QUESTIONS DETAILS


    NewInterviewQuestions.com - Home for World's Largest Interview Questions Website.

    A D V E R T I S E M E N T




    Add to My Questions Add to My Questions | Forward Forward | Print Print


    Question Question The legendary king Midas possessed a huge amount of gold. He hid this treasure carefully: in a building consisting of a number of rooms. In each room there were a number of boxes; this number was equal to the number of rooms in the building. Each box contained a number of golden coins that equaled the number of boxes per room. When the king died, one box was given to the royal barber. The remainder of the coins had to be divided fairly between his six sons. Is a fair division possible in all situations?
    Answer Answer A fair division of Midas' coins is indeed possible. Let the number of rooms be N. This means that per room there are N boxes with N coins each. In total there are N?? = N3 coins. One box with N coins goes to the barber. For the six brothers, N3 - N coins remain. We can write this as: N(N2 - l), or: N(N - 1)(N + l). This last expression is divisible by 6 in all cases, since a number is divisible by 6 when it is both divisible by 3 and even. This is indeed the case here: whatever N may be, the expression N(N - 1)(N + l) always contains three successive numbers. One of those is always divisible by 3, and at least one of the others is even. This even holds when N=1; in that case all the brothers get nothing, which is also a fair division! .

    NO.OF ROOMSIN BUILDING=NO.OF BOXES=NO.OF GOLD COINS=1(SINCE IT IS SAID THAT ONE BOX WAS GIVEN TO BARBER )SO,1 COIN CANNOT BE SHARED BETWEEN 6.

    Answered By: MONICA    Date: 7/10/2008

    © NewInterviewQuestions.com


    If you have the better answer, than send it to us. We will display your answer after the approval.
    Answer Answer:*
    Name Name:*
    Email Address Email Address:*
         Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
     


    Rate the above answer. Help us to know about the answer.
    Category Category Logical & Aptitude Interview Questions
    Rating Rating (4.8) By 15 users
    Added Added 7/7/2005
    Views Views 154386
    Rate it Rate it!
    Free Offers Free Offers: 300 Free Magazines for you. No credit card required. No Shipping Charges. Absolutely Free for 1 Year.

    Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

    Notify me when better answer is posted!
    Email:


    A D V E R T I S E M E N T





     Sponsors  
    Latest 10 Answers
    Using WebServices.... by generating a WSDL file of XML and providing it to client
    now a days, the os mostly used in companies is only and only LINUX, the starting salary in LINUX will be around 20k++.
    ans is 8 only not 10 ..... try with TC.
    Improve your logic, never stop learning,be flexible with multiple technologies.
    Human resource manager comes to recruit and represents the company.
    Audit is the review of the financial statements and giving a fair and true opinion about it.
    Web applications run on internet whereas windows applications run on your personal computer without using internet.
    White. Since C said not sure, A & B standing in front must be wearing both White or one black & one white. Since B said not sure, A standing in front must be wearing White. So A is sure that he is wearing White.
    Yes pointers are integers as it contains the address location . addresses are integers.
    (30*5)+(24*6)=150+144=294 294/2=147

    G o o g l e Search

    Google

    Newinterviewquestions.com is a part of Vyom Network. Top



    Copyright ? 2008, newinterviewquestions.com. All rights reserved Privacy Policy

    Page URL: http://www.newinterviewquestions.com/interview/4561/Default.asp?cachecommand=bypass


    Download Yahoo Messenger