Moto Hell - The Motorola Modding Community
November 24, 2024, 03:13:10 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
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
Moto Hell - The Motorola Modding Community
>
General
>
Off topic
>
The marital friends party
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: The marital friends party (Read 5996 times)
Exploited
Administrator
Ultimate modder
Karma: 109
Offline
Posts: 5153
The marital friends party
«
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
Philip Petrov - C/C++, PHP, MySQL and others
keaglez
Indonesian Motolover
PHD modder
Karma: 61
Offline
Posts: 2562
http://jeffri.net
Re: The marital friends party
«
Reply #1 on:
October 11, 2007, 10:51:41 am »
Zero??
Logged
Best regards,
Jeffri H.
Exploited
Administrator
Ultimate modder
Karma: 109
Offline
Posts: 5153
Re: The marital friends party
«
Reply #2 on:
October 11, 2007, 11:12:23 am »
it is not zero, but how did you calculated that number?
Logged
Philip Petrov - C/C++, PHP, MySQL and others
keaglez
Indonesian Motolover
PHD modder
Karma: 61
Offline
Posts: 2562
http://jeffri.net
Re: The marital friends party
«
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: 109
Offline
Posts: 5153
Re: The marital friends party
«
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
))
Logged
Philip Petrov - C/C++, PHP, MySQL and others
BlinK_
Guest
Re: The marital friends party
«
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
Posts: 2562
http://jeffri.net
Re: The marital friends party
«
Reply #6 on:
October 11, 2007, 11:51:40 pm »
LOL, i forgot that...
Logged
Best regards,
Jeffri H.
Exploited
Administrator
Ultimate modder
Karma: 109
Offline
Posts: 5153
Re: The marital friends party
«
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
Philip Petrov - C/C++, PHP, MySQL and others
Exploited
Administrator
Ultimate modder
Karma: 109
Offline
Posts: 5153
Re: The marital friends party
«
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
Logged
Philip Petrov - C/C++, PHP, MySQL and others
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Motorola Phone Models
-----------------------------
=> Motorola E398/E790/E798/E1
=> Motorola A780/A1200/E2/E6/E680/V8/Z6
-----------------------------
General
-----------------------------
=> General Discussion
=> Trash
-----------------------------
Graphics and Sounds
-----------------------------
=> Wallpapers
=> RingTones
=> Screen Savers
=> Videos
-----------------------------
General
-----------------------------
=> Member's Introductions
-----------------------------
Motorola Phone Models
-----------------------------
===> DRM
===> Monster Packs
===> Java
===> Langpacks
===> Software
===> Monster Packs
===> Software (PC)
===> Software (Phone)
===> Langpacks
-----------------------------
Graphics and Sounds
-----------------------------
=> Skins
-----------------------------
Motorola Phone Models
-----------------------------
=> Motorola C155/C156/C350/C350L/C450/C550
=> Motorola C650/C380/C385/C390/V180/V220
=> Motorola U6/V300/V500/V551/V600/V80/V3
=> Motorola L2/L6/L6i/V191/V195/V235
=> Motorola L7/V360/V3i/V3r
=> Motorola L7i/RIZR/K1/KRZR/W5/W510/Z3/
=> Motorola A3100/MPX/MPX200/MPX220/Q/Q9
=> A835/A840/A975/A1000/C975/E770/E1000+/K3/V975/V3x/V3xx/V6/V9/V9x
=> Motorola C139/C168/C257/C261/V177/W208/W220/W375
===> Langpacks
===> Monster Packs
===> Software (PC)
===> Software (Phone)
===> Langpacks
===> Monster Packs
===> Software (PC)
===> Software (Phone)
-----------------------------
General
-----------------------------
=> Off topic
-----------------------------
Graphics and Sounds
-----------------------------
===> 240x320
===> 176x220
===> 128x160
-----------------------------
General
-----------------------------
=> Forum Games
-----------------------------
Motorola Phone Models
-----------------------------
=> A1600/A1800/EM30/E8/MC75/V750/ZN4/ZN5/Z6w/Z9/Z10/ZN200
===> Motorola ROKR E8
=====> Firmwares
-----------------------------
Graphics and Sounds
-----------------------------
===> 320x240
-----------------------------
Motorola Phone Models
-----------------------------
===> Motorola ZN5
=====> Firmwares
===> ELF
-----------------------------
Graphics and Sounds
-----------------------------
===> Symbian
===> Linux
-----------------------------
Motorola Phone Models
-----------------------------
=> Motorola Android
===> General
===> Applications
===> CLIQ/DEXT
===> CLIQ XT/QUENCH
===> Droid/Droid X/Droid 2
===> Milestone
===> Backflip/Motus
===> Atrix 4G/non 4G
Loading...