Interesting amnesty?

General chitchat, advertisements for other services, and other non-Cantr-related topics

Moderators: Public Relations Department, Players Department

User avatar
Thomas Pickert
Programmer Emeritus
Posts: 1770
Joined: Mon Jul 14, 2003 9:44 pm

Interesting amnesty?

Postby Thomas Pickert » Sun Oct 05, 2003 1:08 am

I have a question. Maybe some of you can help me. It's a hypothetical question. ;)

Say, the Players Department has locked 100 accounts in the past. But to keep a stable number of players, a decision was made to every once in a while grant amnesty to locked out ex-players.
However, the PD was without a Chairman for a while, and the new Chairman had a weird sense of humor. He asked one of his fellow staff members to come up with a fun way of unlocking people. It should involve multiple locking and unlocking of accounts, and in the end, not too many acounts should be unlocked.

To his surprise, one of his fellows immediately had a proposal to make.

'Let's do that in 100 steps', he said. 'First, we unlock every account. Then, we lock every second account again. Then, for every third account, we lock the ones that were unlocked, and unlock the ones that were locked. Then we do the same for every fourth account. And so on, until we flip the status of every 100th account during the 100th step.'

They all liked the playful character of that idea, but they didn't know how many of the originally locked accounts would remain unlocked after that procedure.

Can anyone help them?

[edit: Slightly altered the algorithm. If anyone had an idea for a correct answer, they will easily adapt to the new algorithm.]
Last edited by Thomas Pickert on Sun Oct 05, 2003 5:58 pm, edited 1 time in total.
User avatar
thingnumber2
Posts: 661
Joined: Fri Jul 25, 2003 12:31 am
Location: TN
Contact:

Postby thingnumber2 » Sun Oct 05, 2003 2:32 am

my head hurts :?
Meh
Posts: 2661
Joined: Wed Jul 16, 2003 10:13 pm
Location: Way away from TRUE staff abuse

Postby Meh » Sun Oct 05, 2003 2:49 am

Don't do it as a straight math problem it is a probabity calculation.

"we unlock every second account" = 50%
" we flip the status" ... inverse the state of a "random" subset ... the inverse probability of 50% is 50%.

The PROBABILITY would be that 50% of the accounts would be opened. The actuality would depend on the number of accounts.

Flipping a coin for each would yeild the same probability. It just woundn't be as amusing to watch.

Now if you started with unlocking every third account it would be
33.3~% for an odd amount of steps
66.6~% for an even amount of steps {100 steps}

Each step after the "first" does the inverse

I'd like to add that this is not "math" but probability. I'm not a big math person but I understand probabilities which is why gambling doesn't amuse me unless I get to cheat.
User avatar
Thomas Pickert
Programmer Emeritus
Posts: 1770
Joined: Mon Jul 14, 2003 9:44 pm

Postby Thomas Pickert » Sun Oct 05, 2003 2:53 am

Why bothering with propabilities, when you have a clear idea of what happens to each account during each step? :)

Not that I wouldn't value propabilities. ;) They tell you that you at least have a chance in a casino. It might be a small chance, but still...
Meh
Posts: 2661
Joined: Wed Jul 16, 2003 10:13 pm
Location: Way away from TRUE staff abuse

Postby Meh » Sun Oct 05, 2003 3:08 am

Oh you want to know how is comes out?

Take the number of steps 100...

for and number find the amount of numbers that can be evenly divide into it. There's got to be a math term for that...

12 is 2, 3, 4, and 6
15 is 3 and 5
16 is 2, 4, and 8
{always forget about 1 and the number like 1 and 16}

odd numbers start "active"
even numbers start "inactive"

numbers like 12 and 15 stay in the same state bcuase they have an even number of factors

numbers like 16 flip state because they have an odd number of factors

12 would start inactive get flipped 4 times to inactive
15 would active get flipped twice to active
16 would start as inactive get flipped three times to active
User avatar
Thomas Pickert
Programmer Emeritus
Posts: 1770
Joined: Mon Jul 14, 2003 9:44 pm

Postby Thomas Pickert » Sun Oct 05, 2003 3:13 am

Not bad. :) So, how many accounts would get unlocked out of 100 after 99 turns? ;)
User avatar
Rob Maule
Posts: 441
Joined: Mon Jul 14, 2003 5:15 pm
Location: Florida, USA
Contact:

Postby Rob Maule » Sun Oct 05, 2003 5:14 am

With only skimming the problem and being horrible at math of any sort, I've come up with an answer. Zero.
Image
Chrissy
Posts: 651
Joined: Mon Jul 14, 2003 10:18 pm
Location: Michigan

Postby Chrissy » Sun Oct 05, 2003 9:41 am

Why are you unlocking these accounts?

Chrissy
User avatar
thingnumber2
Posts: 661
Joined: Fri Jul 25, 2003 12:31 am
Location: TN
Contact:

Postby thingnumber2 » Sun Oct 05, 2003 10:30 am

it's a math problem....it's NOT REAL.....*sighs*
Chrissy
Posts: 651
Joined: Mon Jul 14, 2003 10:18 pm
Location: Michigan

Postby Chrissy » Sun Oct 05, 2003 2:25 pm

Oh yes, I see now it was a hypothetical question.


Chrissy
User avatar
Solfius
Posts: 3144
Joined: Wed Jul 16, 2003 5:31 pm

Postby Solfius » Sun Oct 05, 2003 3:41 pm

My question: Why?
User avatar
Thomas Pickert
Programmer Emeritus
Posts: 1770
Joined: Mon Jul 14, 2003 9:44 pm

Postby Thomas Pickert » Sun Oct 05, 2003 5:02 pm

Why what? And since when is that your question?
User avatar
Báng
Posts: 268
Joined: Tue Jul 15, 2003 8:01 pm
Location: Tyrone, Ireland

Postby Báng » Sun Oct 05, 2003 5:07 pm

I think he might mean, 'why did you ask the question?'. Maybe not though. I'm sure you'l be told in time.
User avatar
Thomas Pickert
Programmer Emeritus
Posts: 1770
Joined: Mon Jul 14, 2003 9:44 pm

Postby Thomas Pickert » Sun Oct 05, 2003 5:27 pm

I doubt that it's that what he means. Because, to me it's obvious that there are more reasons for asking the question about the amnesty than reasons for this.
As I don't see a why there, I really can't imagine that Solfius would post such a why here.

Actually, the first post there clearly states that Solfius is not a big why-fan anyways. Maybe he's possessed.


And besides all that, I just don't want to answer the why-question yet. ;)
Last edited by Thomas Pickert on Sun Oct 05, 2003 6:10 pm, edited 1 time in total.
User avatar
g1asswa1ker
Posts: 1003
Joined: Sat Jul 19, 2003 4:32 pm
Location: Rome, NY

sick?

Postby g1asswa1ker » Sun Oct 05, 2003 5:42 pm

Maybe he has some type of contagine
*screams running*stay way
Somehow you strayed and lost your way,
and now there'll be no time to play,
no time for joy,
no time for friends
- not even time to make amends.
You are too naïve if you do believe life is innocent laughter and fun.

Return to “Non-Cantr-Related Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest