|
0 members (),
46
guests, and
174
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
S |
M |
T |
W |
T |
F |
S |
|
|
1
|
2
|
3
|
4
|
5
|
6
|
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
Joined: Aug 2008
Posts: 207
Member
|
OP
Member
Joined: Aug 2008
Posts: 207 |
Solution by DS8. This was DS8's "train of thought":-
He first listed out the info up to #23 and saw the pattern which was:
No. of people <=> Best Seat 1 <=> 1 2 <=> 1 3 <=> 3 4 <=> 1 5 <=> 3 6 <=> 5 7 <=> 7 8 <=> 1 9 <=> 3 10 <=> 5 11 <=> 7 12 <=> 9 13 <=> 11 14 <=> 13 15 <=> 15 16 <=> 1 17 <=> 3 18 <=> 5 19 <=> 7 20 <=> 9 21 <=> 11 22 <=> 13 23 <=> 15 : : : :
He noticed that when the # of pple is 4, 8 16 .... the best seat would be 1 (the first seat). He then associated them with the power of 2s.
He also noticed that the increment for each cycle is by 2. Eg. [1] [1,3] [1,3,5,7] [1,3,5,7,9,11,13,15 ....] This is the part when he thought that there should be a {times 2} in his formula.
Since he didn't know how to "write out" a formula, I told him to describe to me. He started with :-
1) "Find the difference between the no. of pple (n) and the closest power of 2 which is less than n"
2) Then multiply by 2
3) Add 1 (this "1" according to him is to add back the 1st seat)
After making him explained to me like 100x , he wrote down the formula... (He can't wait to go play his lego!)
1+(n-2^) x 2 (where the power of 2 is denoted by 2^)
|
|
|
|
|
Joined: Aug 2008
Posts: 207
Member
|
OP
Member
Joined: Aug 2008
Posts: 207 |
Another solution by a 11yo boy...(posted by his mom) n = 1, 2, 3, 4, 5, 6, 7, 8, ...... nth term = [1][1,3][1,3,5,7][1,3,5,7,9,...][1,....]
The [1,3,5...] sequence would normally have this formula: 2n-1
Now, the sequence restarts when a binary number is reached.
eg for the 3rd interval n=4,5,6,7 nth term=[1,3,5,7]
What needs to be done is to convert this n so that it starts at 1, and the formula 2n-1 can be used. To do that, we'll need to subtract n by the closest binary number that's smaller than n and add 1.
In this 3rd interval, the binary number is 4, so apply the formula (n-2^)+1
n=4,5,6,7 becomes n=1,2,3,4 after we subtract n by 4 and add 1 we can now apply the earlier formula 2n-1 to get the nth term that we wanted.
So what we're doing is. 2((n-2^)+1)-1 --> 2(n-2^)+2-1 --> 2(n-2^)+1
|
|
|
|
|
Joined: May 2007
Posts: 1,783
Member
|
Member
Joined: May 2007
Posts: 1,783 |
Fun, fun! Thanks for sharing! Now see this just goes to show you, there are two types of people in the world: those who describe something like this problem as "fun, fun", and those of us who just ran away screaming from it. LOL!
|
|
|
|
|
Joined: Aug 2008
Posts: 207
Member
|
OP
Member
Joined: Aug 2008
Posts: 207 |
Fun, fun! Thanks for sharing! Now see this just goes to show you, there are two types of people in the world: those who describe something like this problem as "fun, fun", and those of us who just ran away screaming from it. U are so right!!! LOL And perhaps she will say...."More please???" 
|
|
|
|
|
Joined: Jun 2008
Posts: 1,897
Member
|
Member
Joined: Jun 2008
Posts: 1,897 |
at least two types!  My solution was to sit under the table. I will ask ds; he might enjoy this!
|
|
|
|
|
Joined: Jun 2008
Posts: 1,840
Member
|
Member
Joined: Jun 2008
Posts: 1,840 |
Its a good thing he picked every 2nd suitor. With some combinations, he just goes around and around the table. The way I understood the problem, the emperor ignores those who are already dead and continues his elimination method on the remaining suitors. What if he has 13 suitors and picks every 7th one? That is what I meant.
|
|
|
|
|
Joined: Jun 2008
Posts: 1,840
Member
|
Member
Joined: Jun 2008
Posts: 1,840 |
I still don't see a correct solution for any number of suitors and any number of steps.
Last edited by Austin; 10/03/08 09:30 AM.
|
|
|
|
|
Joined: Nov 2007
Posts: 347
Member
|
Member
Joined: Nov 2007
Posts: 347 |
my solution: forget the girl, get up and run!  yeah, that would be my solution  DH's solution: check if my ammunition is enough to kill all the others ....
|
|
|
|
|
Joined: Nov 2007
Posts: 347
Member
|
Member
Joined: Nov 2007
Posts: 347 |
at least two types!  My solution was to sit under the table. I will ask ds; he might enjoy this! what about killing the emperor first?
|
|
|
|
|