Moto Hell - The Motorola Modding Community
April 27, 2024, 04:36:41 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: The marital friends party  (Read 4420 times)
Exploited
Administrator
Ultimate modder
*****

Karma: 108
Offline Offline

Posts: 5153



View Profile WWW
« on: October 08, 2007, 11:10:41 am »

We was having a big party. Only martial couples (wife + husband) was invited (there were NO single guests). Total of 60 martial couples attended to the party (that was a huge party indeed!). Of course I was a part of a martial couple too - I was with my wife there.

At the start of the party all guests was shaking hands between each other (of course a husband will not shake hands with his own wife - they shake hands with other married couple!).

At the end of the party I made a quick survey. I asked everybody "With how many people you shaked hands today?"... Amazingly, but every guest gave me different answer - it came that there was no two people who shaked hands with other guests the same times (for example if guest X shaked hands 23 times today - then no other guest Y shaked hands the same 23 times)! What a co-incidence... nevermind - lets go to my question for you:
How many times my wife shaked hands with guests on the party?
Logged

keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #1 on: October 11, 2007, 10:51:41 am »

Zero??
Logged

Best regards,
Jeffri H.

Exploited
Administrator
Ultimate modder
*****

Karma: 108
Offline Offline

Posts: 5153



View Profile WWW
« Reply #2 on: October 11, 2007, 11:12:23 am »

it is not zero, but how did you calculated that number? Smiley
Logged

keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #3 on: October 11, 2007, 11:29:48 am »

LOL, i guess if there are 120 people (60 couple), and every of them are not shaked hand with his/her wife/husband so the maximum is one people can shake 119 people hand.. Well, there are 120 people and no one same, so 119 people will shake 1 until 119 hand... So the 0 is the last possibilities for the 120th people...
Logged

Best regards,
Jeffri H.

Exploited
Administrator
Ultimate modder
*****

Karma: 108
Offline Offline

Posts: 5153



View Profile WWW
« Reply #4 on: October 11, 2007, 11:04:46 pm »

Let's start from the situation with 4 people:

me   wife
    \  |
M1   F1

Check it out and you will see that it is the only solution:
M1 - shaked hands 0 times
My Wife - shaked hands 1 time
F1 - shaked hands 2 times
=> all guests shaked hands different amount of times & no man shaked hands with his wife

This is the only possible solution (try it out)...

However I will leave you with the two couples example... now it's your turn to give me the answer for N=60 Smiley))
Logged

BlinK_
Guest
« Reply #5 on: October 11, 2007, 11:47:26 pm »

I think its 118.

She shook hands with everybody except herself and exp.
Logged
keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #6 on: October 11, 2007, 11:51:40 pm »

LOL, i forgot that... Grin
Logged

Best regards,
Jeffri H.

Exploited
Administrator
Ultimate modder
*****

Karma: 108
Offline Offline

Posts: 5153



View Profile WWW
« Reply #7 on: October 12, 2007, 07:00:38 am »

Blink_ not true...

Try to extend the problem with 2,3,4 couples and then make it for N couples recursively
Logged

Exploited
Administrator
Ultimate modder
*****

Karma: 108
Offline Offline

Posts: 5153



View Profile WWW
« Reply #8 on: October 24, 2007, 09:53:14 am »

ok it's hard to represent it in text mode, but it happens that if you add one man and woman additional - your wife will shake hands one more time

=> if we have 1 couple she shake hands 1 time, 2 couples - 2 times, "n" couples - "n" times => my wife shaked hands 60 times total Smiley
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines