## Binary Code

A forum for good logic/math puzzles.

Moderators: jestingrabbit, Moderators General, Prelates

Sonofacheesewhiz
Posts: 3
Joined: Wed Nov 18, 2009 5:27 am UTC

### Binary Code

I'm sure this is simple as Hell, but my brain isn't working right now and I'm lazy. Someone sent me these two messages in some sort of binary code: "0001001000001001110011001000001" and
"001001010100100001100110000100100100010010111000100100010001000010010010100011111100100110000111010101010011100010."
...anyone feel like helping me out?

Notch
Posts: 318
Joined: Tue Dec 12, 2006 5:52 pm UTC
Location: Stockholm, Sweden
Contact:

### Re: Binary Code

Some analysis:

The first one is 31 digits long. That's a prime number.
The second one is 114 digits. The non-trivial divisors of 114 are 2, 3, 6, 19, 38 and 57. Splitting it up into six bit chunks, it produces the following decimal numbers: 36, 10, 33, 25, 8, 9, 18, 7, 9, 34, 16, 18, 49, 15, 25, 56, 42, 50, 17. Those don't map to anything readable in ascii.
Both series contain a majority of zeroes. 32.25% 1's in the first one, and 39.47% in the second.

bocochoco
Posts: 317
Joined: Thu Aug 06, 2009 8:22 pm UTC

### Re: Binary Code

Looks like robot grace

"Friends! Friends! Surely you're not going to eat before we say robot grace. In the name of all that is good and logical, we give thanks for the chemical energy we are about to absorb. To quote the prophet Jer-a-matic, one zero zero zero one zero one zero one zero one zero one..." *time passes* "...zero zero one zero one one zero zero one...two. Amen."
Fry: "Does that mean we can eat now?"

Sonofacheesewhiz
Posts: 3
Joined: Wed Nov 18, 2009 5:27 am UTC

### Re: Binary Code

Yeah, I'm guessing that was just junk, and this person is messing with me. Thanks though.

vslayer
Posts: 191
Joined: Wed Oct 22, 2008 8:57 pm UTC
Location: rakaia, NZ
Contact:

### Re: Binary Code

switching "0" for "." and "1" for "-" then assuming three digit letters in morse code gives us: "UURDDUDGSDDDRROSDDRUSRRRDWODDGSORKRWDR" so i think we can rule out morse code. I'm thinking that perhaps the first set is a key for translating the second set.

Posts: 17
Joined: Tue Mar 10, 2009 6:27 pm UTC

### Re: Binary Code

"For without the darkness, how can we see the light?"

jestingrabbit
Factoids are just Datas that haven't grown up yet
Posts: 5967
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney

### Re: Binary Code

http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.asp

Its not a simple ascii encoding, so that's pretty useless.
ameretrifle wrote:Magic space feudalism is therefore a viable idea.

MSTK
Posts: 123
Joined: Fri Oct 31, 2008 5:43 am UTC

### Re: Binary Code

Yeah, the fact that it's majorly 0's seems to indicate to me that it's just heuristically random.

Actaeus
Posts: 606
Joined: Thu Jan 10, 2008 9:21 pm UTC
Location: ZZ9 Plural Z Alpha

### Re: Binary Code

I know this! I can't believe I know this.

It's from Shadow of the Hegemon, the second book in the Ender shadow-saga. (EDIT: Actually, I'm wrong)

HERE is the relevant chapter; scroll all the way to the bottom.
She worked out the text of her message very carefully in her head, making sure that it was phrased and worded exactly right. Then, with that memorized, she figured the binary code of each letter in standard two-byte format, and memorized that. Then she started the really hard stuff.

Of course, the much more interesting part is the chapter where it is decoded, but I can't find that online... I do recall that the code is two lines, the second much longer, and the first ~32, so it fits.

EDIT: Got the plaintext! You can download the entire novel (.doc, possibly illegal) HERE
Spoiler:
hlpndrjeeshtgdrenrusbnstun6rmysiz4Ontrysbtg
bnfndwigginptr

Spoiler:
hlp ndr jeesh tgdr en rus bns tun 6 rmy siz 40 n try sbtg
bn fnd wiggin ptr

Spoiler:
Help. Ender's jeesh together in Russia. Bean's toon was 6. Army size is 50. North. [We will] try sabotage.
Bean: find Wiggin. Petra.

EDIT: ...wait. Two-byte code? That would make it most of a kibibit. Way to long.... Damn! my whole theory down the drain.