Hotel Combination & Room Number: Pattern?
$begingroup$
Every door of a nine-story building (#floor between [1,9]) has a locker working with a combination of 5 digits. Every room of the building has a number of 4 digits allocated, and the first digit represents the floor (i.e. 2XXX is on floor #2).
Two valid combinations are known to you:
Room #1304 --> 08403
Room #2320 --> 70232
Find the pattern between the number of the room and its combination in order to know every room's combination in that building.
pattern
New contributor
$endgroup$
add a comment |
$begingroup$
Every door of a nine-story building (#floor between [1,9]) has a locker working with a combination of 5 digits. Every room of the building has a number of 4 digits allocated, and the first digit represents the floor (i.e. 2XXX is on floor #2).
Two valid combinations are known to you:
Room #1304 --> 08403
Room #2320 --> 70232
Find the pattern between the number of the room and its combination in order to know every room's combination in that building.
pattern
New contributor
$endgroup$
add a comment |
$begingroup$
Every door of a nine-story building (#floor between [1,9]) has a locker working with a combination of 5 digits. Every room of the building has a number of 4 digits allocated, and the first digit represents the floor (i.e. 2XXX is on floor #2).
Two valid combinations are known to you:
Room #1304 --> 08403
Room #2320 --> 70232
Find the pattern between the number of the room and its combination in order to know every room's combination in that building.
pattern
New contributor
$endgroup$
Every door of a nine-story building (#floor between [1,9]) has a locker working with a combination of 5 digits. Every room of the building has a number of 4 digits allocated, and the first digit represents the floor (i.e. 2XXX is on floor #2).
Two valid combinations are known to you:
Room #1304 --> 08403
Room #2320 --> 70232
Find the pattern between the number of the room and its combination in order to know every room's combination in that building.
pattern
pattern
New contributor
New contributor
edited 12 mins ago
Omega Krypton
3,6021337
3,6021337
New contributor
asked 9 hours ago
YormuYormu
1
1
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
This probably isn't the answer, but here is my take on this
$$ y=round({61829xover1016} - {9010946over127}) $$
Where $x$ is the room number and $y$ is the number combination. $x$ will always be 4 digits.
If $y$ is less than 5 digits, it is then padded with zeroes till it is 5 digits.
Example: $873$ to $00873$
New contributor
$endgroup$
$begingroup$
Is this a 5 digit number?
$endgroup$
– deep thought
5 hours ago
$begingroup$
@deepthought what is the 'this' in your question?
$endgroup$
– Embodiment of Ignorance
4 hours ago
$begingroup$
Well I'm trying to talk around the spoiler block... (I could use rot13, but I am being lazy). I would point out that room numbers are 4 digits and that combinations are 5 digits.
$endgroup$
– deep thought
3 hours ago
$begingroup$
@deepthought added some clarification
$endgroup$
– Embodiment of Ignorance
3 hours ago
$begingroup$
I think the point is that we're supposed to be able to find "every room's combination in that building". So for example if I'm next door to 1304. What's the combination for 1305? What if I'm above 2320, what's the combination for 3320?
$endgroup$
– deep thought
3 hours ago
add a comment |
$begingroup$
A partial answer... Slightly more than just partial maybe.
Have figured out the logic for 4 out of the 5 digits.
Observe this:
The first room: 1304 ===> 08403; The second one: 2320 ===> 70232. Just in case you didn't notice: The room number excluding the digit representing the floor number(the leading digit) is just being reversed at a particular position in the locker key.
Now having figured out how(not where yet) 3 digits are found, onto the 4th digit, i.e., the digit preceding these 3 digits.
The
8
in the first and7
in the second is nothing but the sum of all digits of the room number:8 = 1 + 3 + 0 + 4
and7 = 3 + 2 + 3 + 0
Now that we've seen what the 4 digits are, let's see in what positions they appear.
the floor number is what decides where the previously found 4 digits start to be filled. In the first example: floor #1 ===> the digits
3048
starts getting filled from the 1st position from the end, in other words... units place. In the second, numbering starts from the second position from the end(the Tenths place).
The logic for finding and locating these 4 digits should be working fine for all 9 floors. But 6th to 9th floors would be different from the 1st to 5th based on the 5th digit, which I haven't been able to figure out yet.
$endgroup$
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Yormu is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f79239%2fhotel-combination-room-number-pattern%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
This probably isn't the answer, but here is my take on this
$$ y=round({61829xover1016} - {9010946over127}) $$
Where $x$ is the room number and $y$ is the number combination. $x$ will always be 4 digits.
If $y$ is less than 5 digits, it is then padded with zeroes till it is 5 digits.
Example: $873$ to $00873$
New contributor
$endgroup$
$begingroup$
Is this a 5 digit number?
$endgroup$
– deep thought
5 hours ago
$begingroup$
@deepthought what is the 'this' in your question?
$endgroup$
– Embodiment of Ignorance
4 hours ago
$begingroup$
Well I'm trying to talk around the spoiler block... (I could use rot13, but I am being lazy). I would point out that room numbers are 4 digits and that combinations are 5 digits.
$endgroup$
– deep thought
3 hours ago
$begingroup$
@deepthought added some clarification
$endgroup$
– Embodiment of Ignorance
3 hours ago
$begingroup$
I think the point is that we're supposed to be able to find "every room's combination in that building". So for example if I'm next door to 1304. What's the combination for 1305? What if I'm above 2320, what's the combination for 3320?
$endgroup$
– deep thought
3 hours ago
add a comment |
$begingroup$
This probably isn't the answer, but here is my take on this
$$ y=round({61829xover1016} - {9010946over127}) $$
Where $x$ is the room number and $y$ is the number combination. $x$ will always be 4 digits.
If $y$ is less than 5 digits, it is then padded with zeroes till it is 5 digits.
Example: $873$ to $00873$
New contributor
$endgroup$
$begingroup$
Is this a 5 digit number?
$endgroup$
– deep thought
5 hours ago
$begingroup$
@deepthought what is the 'this' in your question?
$endgroup$
– Embodiment of Ignorance
4 hours ago
$begingroup$
Well I'm trying to talk around the spoiler block... (I could use rot13, but I am being lazy). I would point out that room numbers are 4 digits and that combinations are 5 digits.
$endgroup$
– deep thought
3 hours ago
$begingroup$
@deepthought added some clarification
$endgroup$
– Embodiment of Ignorance
3 hours ago
$begingroup$
I think the point is that we're supposed to be able to find "every room's combination in that building". So for example if I'm next door to 1304. What's the combination for 1305? What if I'm above 2320, what's the combination for 3320?
$endgroup$
– deep thought
3 hours ago
add a comment |
$begingroup$
This probably isn't the answer, but here is my take on this
$$ y=round({61829xover1016} - {9010946over127}) $$
Where $x$ is the room number and $y$ is the number combination. $x$ will always be 4 digits.
If $y$ is less than 5 digits, it is then padded with zeroes till it is 5 digits.
Example: $873$ to $00873$
New contributor
$endgroup$
This probably isn't the answer, but here is my take on this
$$ y=round({61829xover1016} - {9010946over127}) $$
Where $x$ is the room number and $y$ is the number combination. $x$ will always be 4 digits.
If $y$ is less than 5 digits, it is then padded with zeroes till it is 5 digits.
Example: $873$ to $00873$
New contributor
edited 1 hour ago
New contributor
answered 8 hours ago
Embodiment of IgnoranceEmbodiment of Ignorance
1095
1095
New contributor
New contributor
$begingroup$
Is this a 5 digit number?
$endgroup$
– deep thought
5 hours ago
$begingroup$
@deepthought what is the 'this' in your question?
$endgroup$
– Embodiment of Ignorance
4 hours ago
$begingroup$
Well I'm trying to talk around the spoiler block... (I could use rot13, but I am being lazy). I would point out that room numbers are 4 digits and that combinations are 5 digits.
$endgroup$
– deep thought
3 hours ago
$begingroup$
@deepthought added some clarification
$endgroup$
– Embodiment of Ignorance
3 hours ago
$begingroup$
I think the point is that we're supposed to be able to find "every room's combination in that building". So for example if I'm next door to 1304. What's the combination for 1305? What if I'm above 2320, what's the combination for 3320?
$endgroup$
– deep thought
3 hours ago
add a comment |
$begingroup$
Is this a 5 digit number?
$endgroup$
– deep thought
5 hours ago
$begingroup$
@deepthought what is the 'this' in your question?
$endgroup$
– Embodiment of Ignorance
4 hours ago
$begingroup$
Well I'm trying to talk around the spoiler block... (I could use rot13, but I am being lazy). I would point out that room numbers are 4 digits and that combinations are 5 digits.
$endgroup$
– deep thought
3 hours ago
$begingroup$
@deepthought added some clarification
$endgroup$
– Embodiment of Ignorance
3 hours ago
$begingroup$
I think the point is that we're supposed to be able to find "every room's combination in that building". So for example if I'm next door to 1304. What's the combination for 1305? What if I'm above 2320, what's the combination for 3320?
$endgroup$
– deep thought
3 hours ago
$begingroup$
Is this a 5 digit number?
$endgroup$
– deep thought
5 hours ago
$begingroup$
Is this a 5 digit number?
$endgroup$
– deep thought
5 hours ago
$begingroup$
@deepthought what is the 'this' in your question?
$endgroup$
– Embodiment of Ignorance
4 hours ago
$begingroup$
@deepthought what is the 'this' in your question?
$endgroup$
– Embodiment of Ignorance
4 hours ago
$begingroup$
Well I'm trying to talk around the spoiler block... (I could use rot13, but I am being lazy). I would point out that room numbers are 4 digits and that combinations are 5 digits.
$endgroup$
– deep thought
3 hours ago
$begingroup$
Well I'm trying to talk around the spoiler block... (I could use rot13, but I am being lazy). I would point out that room numbers are 4 digits and that combinations are 5 digits.
$endgroup$
– deep thought
3 hours ago
$begingroup$
@deepthought added some clarification
$endgroup$
– Embodiment of Ignorance
3 hours ago
$begingroup$
@deepthought added some clarification
$endgroup$
– Embodiment of Ignorance
3 hours ago
$begingroup$
I think the point is that we're supposed to be able to find "every room's combination in that building". So for example if I'm next door to 1304. What's the combination for 1305? What if I'm above 2320, what's the combination for 3320?
$endgroup$
– deep thought
3 hours ago
$begingroup$
I think the point is that we're supposed to be able to find "every room's combination in that building". So for example if I'm next door to 1304. What's the combination for 1305? What if I'm above 2320, what's the combination for 3320?
$endgroup$
– deep thought
3 hours ago
add a comment |
$begingroup$
A partial answer... Slightly more than just partial maybe.
Have figured out the logic for 4 out of the 5 digits.
Observe this:
The first room: 1304 ===> 08403; The second one: 2320 ===> 70232. Just in case you didn't notice: The room number excluding the digit representing the floor number(the leading digit) is just being reversed at a particular position in the locker key.
Now having figured out how(not where yet) 3 digits are found, onto the 4th digit, i.e., the digit preceding these 3 digits.
The
8
in the first and7
in the second is nothing but the sum of all digits of the room number:8 = 1 + 3 + 0 + 4
and7 = 3 + 2 + 3 + 0
Now that we've seen what the 4 digits are, let's see in what positions they appear.
the floor number is what decides where the previously found 4 digits start to be filled. In the first example: floor #1 ===> the digits
3048
starts getting filled from the 1st position from the end, in other words... units place. In the second, numbering starts from the second position from the end(the Tenths place).
The logic for finding and locating these 4 digits should be working fine for all 9 floors. But 6th to 9th floors would be different from the 1st to 5th based on the 5th digit, which I haven't been able to figure out yet.
$endgroup$
add a comment |
$begingroup$
A partial answer... Slightly more than just partial maybe.
Have figured out the logic for 4 out of the 5 digits.
Observe this:
The first room: 1304 ===> 08403; The second one: 2320 ===> 70232. Just in case you didn't notice: The room number excluding the digit representing the floor number(the leading digit) is just being reversed at a particular position in the locker key.
Now having figured out how(not where yet) 3 digits are found, onto the 4th digit, i.e., the digit preceding these 3 digits.
The
8
in the first and7
in the second is nothing but the sum of all digits of the room number:8 = 1 + 3 + 0 + 4
and7 = 3 + 2 + 3 + 0
Now that we've seen what the 4 digits are, let's see in what positions they appear.
the floor number is what decides where the previously found 4 digits start to be filled. In the first example: floor #1 ===> the digits
3048
starts getting filled from the 1st position from the end, in other words... units place. In the second, numbering starts from the second position from the end(the Tenths place).
The logic for finding and locating these 4 digits should be working fine for all 9 floors. But 6th to 9th floors would be different from the 1st to 5th based on the 5th digit, which I haven't been able to figure out yet.
$endgroup$
add a comment |
$begingroup$
A partial answer... Slightly more than just partial maybe.
Have figured out the logic for 4 out of the 5 digits.
Observe this:
The first room: 1304 ===> 08403; The second one: 2320 ===> 70232. Just in case you didn't notice: The room number excluding the digit representing the floor number(the leading digit) is just being reversed at a particular position in the locker key.
Now having figured out how(not where yet) 3 digits are found, onto the 4th digit, i.e., the digit preceding these 3 digits.
The
8
in the first and7
in the second is nothing but the sum of all digits of the room number:8 = 1 + 3 + 0 + 4
and7 = 3 + 2 + 3 + 0
Now that we've seen what the 4 digits are, let's see in what positions they appear.
the floor number is what decides where the previously found 4 digits start to be filled. In the first example: floor #1 ===> the digits
3048
starts getting filled from the 1st position from the end, in other words... units place. In the second, numbering starts from the second position from the end(the Tenths place).
The logic for finding and locating these 4 digits should be working fine for all 9 floors. But 6th to 9th floors would be different from the 1st to 5th based on the 5th digit, which I haven't been able to figure out yet.
$endgroup$
A partial answer... Slightly more than just partial maybe.
Have figured out the logic for 4 out of the 5 digits.
Observe this:
The first room: 1304 ===> 08403; The second one: 2320 ===> 70232. Just in case you didn't notice: The room number excluding the digit representing the floor number(the leading digit) is just being reversed at a particular position in the locker key.
Now having figured out how(not where yet) 3 digits are found, onto the 4th digit, i.e., the digit preceding these 3 digits.
The
8
in the first and7
in the second is nothing but the sum of all digits of the room number:8 = 1 + 3 + 0 + 4
and7 = 3 + 2 + 3 + 0
Now that we've seen what the 4 digits are, let's see in what positions they appear.
the floor number is what decides where the previously found 4 digits start to be filled. In the first example: floor #1 ===> the digits
3048
starts getting filled from the 1st position from the end, in other words... units place. In the second, numbering starts from the second position from the end(the Tenths place).
The logic for finding and locating these 4 digits should be working fine for all 9 floors. But 6th to 9th floors would be different from the 1st to 5th based on the 5th digit, which I haven't been able to figure out yet.
answered 29 mins ago
RaiRai
966111
966111
add a comment |
add a comment |
Yormu is a new contributor. Be nice, and check out our Code of Conduct.
Yormu is a new contributor. Be nice, and check out our Code of Conduct.
Yormu is a new contributor. Be nice, and check out our Code of Conduct.
Yormu is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Puzzling Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f79239%2fhotel-combination-room-number-pattern%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown