Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Decypher me

  1. May 18, 2009 #1
    Have fun.

    Key: 1134487964316
    Lock1: 23144767481431
    Lock2: 43148651671461
    Lock3: 43517649819891
    Lock4: 76487995462131
    Lock5: 47687982498191
    Lock6: 46149897275131
    Lock7: 46768491794850
     
  2. jcsd
  3. May 19, 2009 #2
    Okay so we've got a key with 13 digits and 7 locks with 14 digits each, so I'm guessing we need to find the missing digit in the key for each lock.

    One way you could do this is to add the digits in the lock and find the remainder MOD 10, and do the same for the key and have these remainders be the same i.e. have the sums be equivalent modulo 10.

    So for lock 1 the sum of the digits is 55 = 5 mod 10, and for the key the sum is 57 + x (where x is the missing digit) which must be equivalent to 5 mod 10, which would give x = 8. The problem then is where to insert this digit into the key. One, completely arbitrary, way could be to insert the digit in place 1 for lock 1, place 2 for lock 2, and so on. So for lock 1 the key would be 81134487964316.

    Alternatively instead of the straight sum of the digits you could do the weighted sum, then the missing digit would have to be inserted at place 1.

    So for lock 1 the sum would be 1(2) + 2(3) + 3(1) + 4(4) + ... + 14(1) = 415 = 5 mod 10, and x + 491 for the key, giving x = 4. So the key in this case would be 41134487964316.
     
    Last edited: May 19, 2009
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Decypher me
  1. Me. (Replies: 2)

  2. What makes me Me? (Replies: 11)

  3. Two me or not two me (Replies: 8)

  4. It's me (Replies: 4)

Loading...