Jump to content


Welcome to BrainDen.com - Brain Teasers Forum

Welcome to BrainDen.com - Brain Teasers Forum. Like most online communities you must register to post in our community, but don't worry this is a simple free process. To be a part of BrainDen Forums you may create a new account or sign in if you already have an account.
As a member you could start new topics, reply to others, subscribe to topics/forums to get automatic updates, get your own profile and make new friends.

Of course, you can also enjoy our collection of amazing optical illusions and cool math games.

If you like our site, you may support us by simply clicking Google "+1" or Facebook "Like" buttons at the top.
If you have a website, we would appreciate a little link to BrainDen.

Thanks and enjoy the Den :-)
Guest Message by DevFuse
 

Photo
- - - - -


  • Please log in to reply
50 replies to this topic

#51 k-man

k-man

    Advanced Member

  • Members
  • PipPipPip
  • 480 posts
  • Gender:Male

Posted 06 December 2010 - 04:00 PM

Good job, k-man. I'm very impressed that you solved this problem. Would you mind sharing your thought process when approaching this problem? What sort of test did you run on the examples? How did you narrow down the possible solutions, and what was the insight that allowed you to crack the code? Again, great job!


It was probably more luck than anything else. From several examples I noticed that the operation may create a result that's greater, in between or smaller than the operands. That made me thinking of some sort of binary nature of the operation (similar to binary OR, AND or XOR). So, for a while, I've been using the binary representation of the numbers trying unsuccessfuly to figure out the binary operation that would produce these results. That made me think that some other numerical system may be involved. So, I just decided to try the base 3 system. Once I converted the numbers to base 3 it became quite obvious what the operation does.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users