Hotel Combination & Room Number: Pattern?












0












$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.










share|improve this question









New contributor




Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$

















    0












    $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.










    share|improve this question









    New contributor




    Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    $endgroup$















      0












      0








      0





      $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.










      share|improve this question









      New contributor




      Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.







      $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






      share|improve this question









      New contributor




      Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 12 mins ago









      Omega Krypton

      3,6021337




      3,6021337






      New contributor




      Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 9 hours ago









      YormuYormu

      1




      1




      New contributor




      Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Yormu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          0












          $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$







          share|improve this answer










          New contributor




          Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          $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



















          0












          $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 and 7 in the second is nothing but the sum of all digits of the room number: 8 = 1 + 3 + 0 + 4 and 7 = 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.






          share|improve this answer









          $endgroup$













            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.










            draft saved

            draft discarded


















            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









            0












            $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$







            share|improve this answer










            New contributor




            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $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
















            0












            $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$







            share|improve this answer










            New contributor




            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $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














            0












            0








            0





            $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$







            share|improve this answer










            New contributor




            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $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$








            share|improve this answer










            New contributor




            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer








            edited 1 hour ago





















            New contributor




            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 8 hours ago









            Embodiment of IgnoranceEmbodiment of Ignorance

            1095




            1095




            New contributor




            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Embodiment of Ignorance is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.












            • $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$
              @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











            0












            $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 and 7 in the second is nothing but the sum of all digits of the room number: 8 = 1 + 3 + 0 + 4 and 7 = 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.






            share|improve this answer









            $endgroup$


















              0












              $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 and 7 in the second is nothing but the sum of all digits of the room number: 8 = 1 + 3 + 0 + 4 and 7 = 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.






              share|improve this answer









              $endgroup$
















                0












                0








                0





                $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 and 7 in the second is nothing but the sum of all digits of the room number: 8 = 1 + 3 + 0 + 4 and 7 = 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.






                share|improve this answer









                $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 and 7 in the second is nothing but the sum of all digits of the room number: 8 = 1 + 3 + 0 + 4 and 7 = 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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 29 mins ago









                RaiRai

                966111




                966111






















                    Yormu is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    How to label and detect the document text images

                    Vallis Paradisi

                    Tabula Rosettana