Monday, March 02, 2009

Frustrated

Well, my entire dissertation is stuck right now because I can't figure out how to get a randomized ordering of 6 numbers without immediate repetitions that loops.

That is all.


Ummm... nevermind.

[5, 1, 3, 4, 2, 4, 1, 5, 2, 3, 4, 5, 1, 3, 6, 4, 3, 2, 6, 5, 3, 1, 2, 5, 6, 4, 5, 1, 6, 2, 1, 6, 4, 2, 3, 1, 4, 5, 3, 2, 3, 1, 5, 2, 6, 1, 4, 2, 6, 3, 5, 6, 1, 3, 2, 5, 3, 4, 2, 6, 5, 3, 1, 6, 2, 6, 3, 4, 2, 1, 3, 4, 5, 1, 6, 2, 5, 1, 6, 3, 5, 4, 6, 3, 2, 4, 3, 1, 2, 5, 4, 2, 6, 5, 3, 6, 4, 1, 3, 5, 6, 4, 3, 5, 2, 5, 3, 6, 2, 4, 6, 3, 1, 4, 2, 1, 6, 3, 2, 4, 1, 2, 6, 4, 3, 2, 4, 5, 3, 6, 3, 4, 2, 6, 1, 2, 6, 3, 1, 4, 2, 6, 3, 4, 5, 2, 6, 1, 5, 4, 3, 1, 6, 4, 5, 3, 1, 2, 5, 4, 5, 1, 2, 4, 3, 1, 6, 4, 3, 5, 4, 1, 6, 5, 3, 2, 5, 6, 3, 1, 3, 4, 2, 1, 5, 1, 2, 3, 5, 6, 3, 4, 5, 6, 1, 4, 5, 3, 1, 6, 4, 5, 1, 6, 2, 4, 6, 5, 2, 3, 5, 6, 4, 3, 1, 4, 2, 6, 1, 5, 3, 1, 6, 5, 2, 5, 1, 4, 2, 6, 4, 5, 2, 6, 1, 6, 4, 5, 1, 3, 1, 6, 5, 3, 2, 5, 3, 4, 2, 6, 1, 5, 4, 6, 2, 1, 5, 6, 2, 3, 2, 5, 1, 3, 4, 1, 5, 3, 4, 2, 1, 6, 4, 2, 5, 1, 3, 6, 5, 4, 3, 5, 2, 4, 6, 1, 2, 3, 6, 5, 6, 4, 3, 5, 1, 3, 6, 2, 1, 4, 2, 1, 3, 4, 5, 2, 1, 6, 5, 3, 4, 1, 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oala said...

Yup. Guess number 83. That's the one every time.

sylvia said...

I did a chunk of my BSc writing PROLOG programs that worked but that I never quite understood. Changing minor things would get me the results I wanted but I always felt vaguely guilty that I didn't really know why.

Still do.

Robin S. said...

I have no idea what's going on with number stuff, so I'm really glad you do! Or if you don't yet, you will, shortly.

writtenwyrdd said...

Color me confused. Glad it worked, though.

pjd said...

I have only one thing to say:

Are we playing questions?

"The law of averages, if I have got this right, means that if six monkeys were thrown up in the air for long enough they would land on their tails about as often as they would land on their..."