Identical-Looking Keys on a Ring

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
6
down vote

favorite












The number of keys on your key ring has been growing steadily over time, and now you already have 15 keys to keep track of! Unfortunately, you are unable to distinguish one key from another (apart from testing on doors), as they all look something like this:



enter image description here



There is no engraving or mark of any kind on any of the keys to tell you which door it opens. So every time you've opened a door, it involved tediously checking each key until you use the right key. Surely there must be a better way!



So, how can you place the keys on the key ring so that every time you want to open a door, the first key you try is guaranteed to work?



Rules:



  • You are not allowed to mark the keys or key ring in any way.

  • The keys must always remain on the key ring after the initial arrangement.

  • You may not add anything to the key ring except the 15 identical-looking keys you need to keep track of.

  • You should always be able to identify the right key only by examining the arrangement of the keys on the key ring.

  • Your solution should be easily modifiable if the number of keys increases.

  • Between opening doors, the keys sit in your pocket. No holding on to one key as a reference.






share|improve this question















  • 1




    I guess there's no solution if there are only two locks
    – Jasen
    15 hours ago














up vote
6
down vote

favorite












The number of keys on your key ring has been growing steadily over time, and now you already have 15 keys to keep track of! Unfortunately, you are unable to distinguish one key from another (apart from testing on doors), as they all look something like this:



enter image description here



There is no engraving or mark of any kind on any of the keys to tell you which door it opens. So every time you've opened a door, it involved tediously checking each key until you use the right key. Surely there must be a better way!



So, how can you place the keys on the key ring so that every time you want to open a door, the first key you try is guaranteed to work?



Rules:



  • You are not allowed to mark the keys or key ring in any way.

  • The keys must always remain on the key ring after the initial arrangement.

  • You may not add anything to the key ring except the 15 identical-looking keys you need to keep track of.

  • You should always be able to identify the right key only by examining the arrangement of the keys on the key ring.

  • Your solution should be easily modifiable if the number of keys increases.

  • Between opening doors, the keys sit in your pocket. No holding on to one key as a reference.






share|improve this question















  • 1




    I guess there's no solution if there are only two locks
    – Jasen
    15 hours ago












up vote
6
down vote

favorite









up vote
6
down vote

favorite











The number of keys on your key ring has been growing steadily over time, and now you already have 15 keys to keep track of! Unfortunately, you are unable to distinguish one key from another (apart from testing on doors), as they all look something like this:



enter image description here



There is no engraving or mark of any kind on any of the keys to tell you which door it opens. So every time you've opened a door, it involved tediously checking each key until you use the right key. Surely there must be a better way!



So, how can you place the keys on the key ring so that every time you want to open a door, the first key you try is guaranteed to work?



Rules:



  • You are not allowed to mark the keys or key ring in any way.

  • The keys must always remain on the key ring after the initial arrangement.

  • You may not add anything to the key ring except the 15 identical-looking keys you need to keep track of.

  • You should always be able to identify the right key only by examining the arrangement of the keys on the key ring.

  • Your solution should be easily modifiable if the number of keys increases.

  • Between opening doors, the keys sit in your pocket. No holding on to one key as a reference.






share|improve this question











The number of keys on your key ring has been growing steadily over time, and now you already have 15 keys to keep track of! Unfortunately, you are unable to distinguish one key from another (apart from testing on doors), as they all look something like this:



enter image description here



There is no engraving or mark of any kind on any of the keys to tell you which door it opens. So every time you've opened a door, it involved tediously checking each key until you use the right key. Surely there must be a better way!



So, how can you place the keys on the key ring so that every time you want to open a door, the first key you try is guaranteed to work?



Rules:



  • You are not allowed to mark the keys or key ring in any way.

  • The keys must always remain on the key ring after the initial arrangement.

  • You may not add anything to the key ring except the 15 identical-looking keys you need to keep track of.

  • You should always be able to identify the right key only by examining the arrangement of the keys on the key ring.

  • Your solution should be easily modifiable if the number of keys increases.

  • Between opening doors, the keys sit in your pocket. No holding on to one key as a reference.








share|improve this question










share|improve this question




share|improve this question









asked 22 hours ago









Riley

8,64142762




8,64142762







  • 1




    I guess there's no solution if there are only two locks
    – Jasen
    15 hours ago












  • 1




    I guess there's no solution if there are only two locks
    – Jasen
    15 hours ago







1




1




I guess there's no solution if there are only two locks
– Jasen
15 hours ago




I guess there's no solution if there are only two locks
– Jasen
15 hours ago










2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










Since the keys are arranged in a circular fashion, I think I need to identify both an origin and a direction, no matter which way the key ring is rotated, and no matter how many keys are moved from one side to the other along the ring.



This should do it with minimum trouble:




Number the locks 1 to N.


1. Arrange the keys on the key ring in clockwise numerical order, with every key's teeth pointing up

2. Turn key 1 on the keyring so that its teeth point down.




You can always return the keyring to this position, and thereby identify each key.



To extend this to accommodate for more keys,




any new lock should get the next number in the series.




The operation needed in case you have to return one of the keys is a bit more tedious though, since




you'll have to renumber all the locks with a greater number than the one that got removed.




(PS. I think the keys actually do look different: that kind of keys' functionality is entirely in the shape, so it two keys look exactly identical, they open the same lock)






share|improve this answer





















  • Nice, this is a good simple solution that meets all requirements. Regarding your P.S., of course the keys do not have identical teeth. But you are unable to distinguish them. Let's say you cannot read the subtle features in the teeth. Also, it is unreasonable to expect you to study all of the keys' teeth.
    – Riley
    21 hours ago

















up vote
4
down vote













You should be able to tell the difference between a key which is




in an up (U) or down (D) position by the teeth.


Even if the key ring is large enough so than the key can rotate around it, each key's teeth will remain in the same up or down position when pointing out from the ring.




Then arrange them in a circular pattern from one key to the last like:




U D D U U U D D D D U U U U U


You can continue this sequence, adding one to the up-downs each time. There doesn't have to be a complete triangular number of keys - even if the last U/D sequence is only, one or two like XY, you can tell from the reverse countdown 3U, 2D, 1U, XY than the X is the last door's key.




Need to know at the start which key works for each door and arrange them in this order on the ring.






share|improve this answer























  • Could you elaborate on rot13(ubj lbh qrgrezvar juvpu qverpgvba vf hc) and rot13(ubj guvf pna or rkgraqrq rnfvyl gb zber xrlf)?
    – Riley
    21 hours ago










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f68941%2fidentical-looking-keys-on-a-ring%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
5
down vote



accepted










Since the keys are arranged in a circular fashion, I think I need to identify both an origin and a direction, no matter which way the key ring is rotated, and no matter how many keys are moved from one side to the other along the ring.



This should do it with minimum trouble:




Number the locks 1 to N.


1. Arrange the keys on the key ring in clockwise numerical order, with every key's teeth pointing up

2. Turn key 1 on the keyring so that its teeth point down.




You can always return the keyring to this position, and thereby identify each key.



To extend this to accommodate for more keys,




any new lock should get the next number in the series.




The operation needed in case you have to return one of the keys is a bit more tedious though, since




you'll have to renumber all the locks with a greater number than the one that got removed.




(PS. I think the keys actually do look different: that kind of keys' functionality is entirely in the shape, so it two keys look exactly identical, they open the same lock)






share|improve this answer





















  • Nice, this is a good simple solution that meets all requirements. Regarding your P.S., of course the keys do not have identical teeth. But you are unable to distinguish them. Let's say you cannot read the subtle features in the teeth. Also, it is unreasonable to expect you to study all of the keys' teeth.
    – Riley
    21 hours ago














up vote
5
down vote



accepted










Since the keys are arranged in a circular fashion, I think I need to identify both an origin and a direction, no matter which way the key ring is rotated, and no matter how many keys are moved from one side to the other along the ring.



This should do it with minimum trouble:




Number the locks 1 to N.


1. Arrange the keys on the key ring in clockwise numerical order, with every key's teeth pointing up

2. Turn key 1 on the keyring so that its teeth point down.




You can always return the keyring to this position, and thereby identify each key.



To extend this to accommodate for more keys,




any new lock should get the next number in the series.




The operation needed in case you have to return one of the keys is a bit more tedious though, since




you'll have to renumber all the locks with a greater number than the one that got removed.




(PS. I think the keys actually do look different: that kind of keys' functionality is entirely in the shape, so it two keys look exactly identical, they open the same lock)






share|improve this answer





















  • Nice, this is a good simple solution that meets all requirements. Regarding your P.S., of course the keys do not have identical teeth. But you are unable to distinguish them. Let's say you cannot read the subtle features in the teeth. Also, it is unreasonable to expect you to study all of the keys' teeth.
    – Riley
    21 hours ago












up vote
5
down vote



accepted







up vote
5
down vote



accepted






Since the keys are arranged in a circular fashion, I think I need to identify both an origin and a direction, no matter which way the key ring is rotated, and no matter how many keys are moved from one side to the other along the ring.



This should do it with minimum trouble:




Number the locks 1 to N.


1. Arrange the keys on the key ring in clockwise numerical order, with every key's teeth pointing up

2. Turn key 1 on the keyring so that its teeth point down.




You can always return the keyring to this position, and thereby identify each key.



To extend this to accommodate for more keys,




any new lock should get the next number in the series.




The operation needed in case you have to return one of the keys is a bit more tedious though, since




you'll have to renumber all the locks with a greater number than the one that got removed.




(PS. I think the keys actually do look different: that kind of keys' functionality is entirely in the shape, so it two keys look exactly identical, they open the same lock)






share|improve this answer













Since the keys are arranged in a circular fashion, I think I need to identify both an origin and a direction, no matter which way the key ring is rotated, and no matter how many keys are moved from one side to the other along the ring.



This should do it with minimum trouble:




Number the locks 1 to N.


1. Arrange the keys on the key ring in clockwise numerical order, with every key's teeth pointing up

2. Turn key 1 on the keyring so that its teeth point down.




You can always return the keyring to this position, and thereby identify each key.



To extend this to accommodate for more keys,




any new lock should get the next number in the series.




The operation needed in case you have to return one of the keys is a bit more tedious though, since




you'll have to renumber all the locks with a greater number than the one that got removed.




(PS. I think the keys actually do look different: that kind of keys' functionality is entirely in the shape, so it two keys look exactly identical, they open the same lock)







share|improve this answer













share|improve this answer



share|improve this answer











answered 21 hours ago









Bass

19.5k347132




19.5k347132











  • Nice, this is a good simple solution that meets all requirements. Regarding your P.S., of course the keys do not have identical teeth. But you are unable to distinguish them. Let's say you cannot read the subtle features in the teeth. Also, it is unreasonable to expect you to study all of the keys' teeth.
    – Riley
    21 hours ago
















  • Nice, this is a good simple solution that meets all requirements. Regarding your P.S., of course the keys do not have identical teeth. But you are unable to distinguish them. Let's say you cannot read the subtle features in the teeth. Also, it is unreasonable to expect you to study all of the keys' teeth.
    – Riley
    21 hours ago















Nice, this is a good simple solution that meets all requirements. Regarding your P.S., of course the keys do not have identical teeth. But you are unable to distinguish them. Let's say you cannot read the subtle features in the teeth. Also, it is unreasonable to expect you to study all of the keys' teeth.
– Riley
21 hours ago




Nice, this is a good simple solution that meets all requirements. Regarding your P.S., of course the keys do not have identical teeth. But you are unable to distinguish them. Let's say you cannot read the subtle features in the teeth. Also, it is unreasonable to expect you to study all of the keys' teeth.
– Riley
21 hours ago










up vote
4
down vote













You should be able to tell the difference between a key which is




in an up (U) or down (D) position by the teeth.


Even if the key ring is large enough so than the key can rotate around it, each key's teeth will remain in the same up or down position when pointing out from the ring.




Then arrange them in a circular pattern from one key to the last like:




U D D U U U D D D D U U U U U


You can continue this sequence, adding one to the up-downs each time. There doesn't have to be a complete triangular number of keys - even if the last U/D sequence is only, one or two like XY, you can tell from the reverse countdown 3U, 2D, 1U, XY than the X is the last door's key.




Need to know at the start which key works for each door and arrange them in this order on the ring.






share|improve this answer























  • Could you elaborate on rot13(ubj lbh qrgrezvar juvpu qverpgvba vf hc) and rot13(ubj guvf pna or rkgraqrq rnfvyl gb zber xrlf)?
    – Riley
    21 hours ago














up vote
4
down vote













You should be able to tell the difference between a key which is




in an up (U) or down (D) position by the teeth.


Even if the key ring is large enough so than the key can rotate around it, each key's teeth will remain in the same up or down position when pointing out from the ring.




Then arrange them in a circular pattern from one key to the last like:




U D D U U U D D D D U U U U U


You can continue this sequence, adding one to the up-downs each time. There doesn't have to be a complete triangular number of keys - even if the last U/D sequence is only, one or two like XY, you can tell from the reverse countdown 3U, 2D, 1U, XY than the X is the last door's key.




Need to know at the start which key works for each door and arrange them in this order on the ring.






share|improve this answer























  • Could you elaborate on rot13(ubj lbh qrgrezvar juvpu qverpgvba vf hc) and rot13(ubj guvf pna or rkgraqrq rnfvyl gb zber xrlf)?
    – Riley
    21 hours ago












up vote
4
down vote










up vote
4
down vote









You should be able to tell the difference between a key which is




in an up (U) or down (D) position by the teeth.


Even if the key ring is large enough so than the key can rotate around it, each key's teeth will remain in the same up or down position when pointing out from the ring.




Then arrange them in a circular pattern from one key to the last like:




U D D U U U D D D D U U U U U


You can continue this sequence, adding one to the up-downs each time. There doesn't have to be a complete triangular number of keys - even if the last U/D sequence is only, one or two like XY, you can tell from the reverse countdown 3U, 2D, 1U, XY than the X is the last door's key.




Need to know at the start which key works for each door and arrange them in this order on the ring.






share|improve this answer















You should be able to tell the difference between a key which is




in an up (U) or down (D) position by the teeth.


Even if the key ring is large enough so than the key can rotate around it, each key's teeth will remain in the same up or down position when pointing out from the ring.




Then arrange them in a circular pattern from one key to the last like:




U D D U U U D D D D U U U U U


You can continue this sequence, adding one to the up-downs each time. There doesn't have to be a complete triangular number of keys - even if the last U/D sequence is only, one or two like XY, you can tell from the reverse countdown 3U, 2D, 1U, XY than the X is the last door's key.




Need to know at the start which key works for each door and arrange them in this order on the ring.







share|improve this answer















share|improve this answer



share|improve this answer








edited 21 hours ago


























answered 21 hours ago









Tom

21.6k278129




21.6k278129











  • Could you elaborate on rot13(ubj lbh qrgrezvar juvpu qverpgvba vf hc) and rot13(ubj guvf pna or rkgraqrq rnfvyl gb zber xrlf)?
    – Riley
    21 hours ago
















  • Could you elaborate on rot13(ubj lbh qrgrezvar juvpu qverpgvba vf hc) and rot13(ubj guvf pna or rkgraqrq rnfvyl gb zber xrlf)?
    – Riley
    21 hours ago















Could you elaborate on rot13(ubj lbh qrgrezvar juvpu qverpgvba vf hc) and rot13(ubj guvf pna or rkgraqrq rnfvyl gb zber xrlf)?
– Riley
21 hours ago




Could you elaborate on rot13(ubj lbh qrgrezvar juvpu qverpgvba vf hc) and rot13(ubj guvf pna or rkgraqrq rnfvyl gb zber xrlf)?
– Riley
21 hours ago












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f68941%2fidentical-looking-keys-on-a-ring%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491