Help break this code!

Want to just shoot the breeze? Forum 42 is the place!

Moderator: Moderators

User avatar
timmeh87
Senior Member
Posts: 3047
Joined: Mon Nov 14, 2005 10:19 pm
Location: Ontario, Canada

Post by timmeh87 » Tue Apr 04, 2006 8:52 am

the problem with morse code is that all the letters are different lengths. so there would be like 100 ways to convert it... which means im too lazy to try. lol.
Image

"Linux is only free if your time is worthless"

User avatar
Kai
Posts: 357
Joined: Sun Mar 13, 2005 12:02 pm
Location: Germany
Contact:

Post by Kai » Tue Apr 04, 2006 11:55 am

jep thats the major problem
External Computer ERROR
please replace User
C64p Pal:
I've build some connectors for disk and keyboard, the screen has been taken apart and the case has been modded a bit

User avatar
sgtpepper
Posts: 602
Joined: Sat Mar 25, 2006 7:03 pm
Location: Little Rock, AR

Post by sgtpepper » Tue Apr 04, 2006 12:11 pm

Ok, I got another clue out of him, he said try a "binary tree". I'm in the process of trying to figure out how it works... So any help would be greatly appreciated!

Thanks
Image
 My iBook's modded logo!
Jobs vs Gates Google Fight!

User avatar
timmeh87
Senior Member
Posts: 3047
Joined: Mon Nov 14, 2005 10:19 pm
Location: Ontario, Canada

Post by timmeh87 » Tue Apr 04, 2006 1:03 pm

Image

"Linux is only free if your time is worthless"

User avatar
HK-47
Moderator
Posts: 3598
Joined: Thu Jul 15, 2004 2:17 pm
Location: /dev/moderator/
Contact:

Post by HK-47 » Tue Apr 04, 2006 2:12 pm

Judging by what I see, the tree would look something like this:

Code: Select all

              47
             /  \
            /    \
           /      \
          /        \
         /          \
        /            \
       /              \
      22              59
     /  \            /  \
    /    \          /    \
   /      \        /      \
  51      36      64      63
 /  \    /  \    /  \    /  \
32  68  64  46  64  63  34  40
Copy it into notepad so the /s and \s dont look so crappy...
Now to figure out how to extract data... :|

User avatar
HK-47
Moderator
Posts: 3598
Joined: Thu Jul 15, 2004 2:17 pm
Location: /dev/moderator/
Contact:

Post by HK-47 » Tue Apr 04, 2006 3:07 pm

Nevermind... Thats not it. :| But now I know how binary trees work. Maybe you'll see somethign I miss.

First a root node is created like this:

Code: Select all

10
Any number that is added to this (a new node) is compared to the parent node (in this case, the root node). If the new node is higher in value to the parent node it goes to the right of it, while if it is smaller, it goes to the left. So, if we were to add a 5 to the tree it would look like this:

Code: Select all

   10
 /
5
And if we added a 15, it would look like this:

Code: Select all

   10
 /    \
5      15
Now that that we have another "level" of nodes, any numbers that we add are compared to the root node, then then compared to the node that it is pointed to. For example, lets say we want to add 12, it would look like this:

Code: Select all

   10
 /    \
5      15
      /
    12
What happens here is that 12 is compared to the 10, and it is bigger, so it is sent right. It is then compared to the 15, because it is on the right of the 10. 12 is smaller than 15, so it is sent left, were it is inserted into the tree.

This kind of behaviour goes on and on, and thats how it works. How this even applies to the puzzle thing, I have no idea. :(

Go get some more hints! :P

User avatar
sgtpepper
Posts: 602
Joined: Sat Mar 25, 2006 7:03 pm
Location: Little Rock, AR

Post by sgtpepper » Tue Apr 04, 2006 3:21 pm

Well my dad did some research for me, and found a javascript to put the numbers into a binary tree, but from here we don't really know what to do...

http://i12.photobucket.com/albums/a243/ ... yTable.png
Image
 My iBook's modded logo!
Jobs vs Gates Google Fight!

User avatar
joevennix
Portablizer
Posts: 999
Joined: Sat Jan 14, 2006 9:34 am
Location: On permanent vacation from reality.
Contact:

Post by joevennix » Tue Apr 04, 2006 3:30 pm

In hex, the word IS translates to 49, 53. Perhaps we should be looking for those two numbers.
Image

User avatar
sgtpepper
Posts: 602
Joined: Sat Mar 25, 2006 7:03 pm
Location: Little Rock, AR

Post by sgtpepper » Tue Apr 04, 2006 3:57 pm

Yeah either that, or "is" in binary which would be-

000010110110100101110011 (in lowercase)
0100100101010011 (in uppercase)
Image
 My iBook's modded logo!
Jobs vs Gates Google Fight!

User avatar
gamefunatic
Posts: 120
Joined: Sun Jan 01, 2006 9:07 pm
Location: i'll give you a hint: i can see you
Contact:

Post by gamefunatic » Tue Apr 04, 2006 6:17 pm

this problem is almost too hard... i think your teacher is trying to stump you and when no one comes up with the answer he laughs at you and does it so simply that you all feel stupid... any way maybe it translates into something like "Loving math is cool", but yeah and instead of focusing on 49 and 53 focus on 16 and 2
i'm lazy...so what?

User avatar
codeman
Posts: 314
Joined: Mon Aug 15, 2005 2:29 pm
Contact:

Post by codeman » Tue Apr 04, 2006 7:07 pm

well i think he meant that 16 was the most important number because you first need to convert the characters into their ascii hex value, and hex is base 16. Then there's probably a binary pattern, and binary is base 2, the "second most important" number. No time to look for one now though, this lab is kicking my butt.
What I have shown you is reality. What you remember, that is the illusion.

"Say, what does this button do?"

All the dishes rattle in the cupboards when the elephants arrive

User avatar
sgtpepper
Posts: 602
Joined: Sat Mar 25, 2006 7:03 pm
Location: Little Rock, AR

Post by sgtpepper » Tue Apr 04, 2006 8:02 pm

Yeah that's probably right gamefunatic, but that's half the reason I'm trying to do it. He's got a huge ego and he would be incredibly dissapointed if someone cracked his oh-so-mighty code. :roll:

And yeah codeman, that's EXACTLY what I think about this whole thing, because it just makes total sense with the HEX relating to 16, and when I told him about the HEX part he seemed mildly impressed that I had even gotten that far. So when I asked him about binary relating to the 2, he gave me the clue of "binary tree", so there's really no other explanation...
Image
 My iBook's modded logo!
Jobs vs Gates Google Fight!

Post Reply