People having different ages residing on different floors of a building












2












$begingroup$


Here is the riddle:




Eight people, 'A', 'B', 'C', 'D', 'E', 'F', 'G', and 'H' live in an eight–story building. The lowest floor is numbered '1' and the topmost floor is numbered '8'. The peoples' ages are $20$, $24$, $26$, $27$, $29$, $31$, $34$, and $38$, but not necessarily in the same order.




  • F lives three floors above the one who is $27$ years old.

  • C lives just above F.

  • The difference of age between A and C is the same as the difference between D and H.

  • The one who is $34$ years old is living on the top floor.

  • Only two people are older than F.

  • B is $26$ years old.

  • H is older than to F.

  • The number of floors above D is the same as the number below E.

  • C lives on an odd numbered floor.

  • B lives just above the one who is $24$ years old.

  • D is 5 years elder to G.

  • One person lives between G and the one who is 24 years old.

  • The difference of age between A and B is at least $3$ years.

  • The number of floors between G and C is the same as A and E.




Is the solution to the above problem:




D 34


G 29


B 26


C 24


F 31


A 20


H 38


E 27




Source: Q 6-10










share|improve this question











$endgroup$

















    2












    $begingroup$


    Here is the riddle:




    Eight people, 'A', 'B', 'C', 'D', 'E', 'F', 'G', and 'H' live in an eight–story building. The lowest floor is numbered '1' and the topmost floor is numbered '8'. The peoples' ages are $20$, $24$, $26$, $27$, $29$, $31$, $34$, and $38$, but not necessarily in the same order.




    • F lives three floors above the one who is $27$ years old.

    • C lives just above F.

    • The difference of age between A and C is the same as the difference between D and H.

    • The one who is $34$ years old is living on the top floor.

    • Only two people are older than F.

    • B is $26$ years old.

    • H is older than to F.

    • The number of floors above D is the same as the number below E.

    • C lives on an odd numbered floor.

    • B lives just above the one who is $24$ years old.

    • D is 5 years elder to G.

    • One person lives between G and the one who is 24 years old.

    • The difference of age between A and B is at least $3$ years.

    • The number of floors between G and C is the same as A and E.




    Is the solution to the above problem:




    D 34


    G 29


    B 26


    C 24


    F 31


    A 20


    H 38


    E 27




    Source: Q 6-10










    share|improve this question











    $endgroup$















      2












      2








      2





      $begingroup$


      Here is the riddle:




      Eight people, 'A', 'B', 'C', 'D', 'E', 'F', 'G', and 'H' live in an eight–story building. The lowest floor is numbered '1' and the topmost floor is numbered '8'. The peoples' ages are $20$, $24$, $26$, $27$, $29$, $31$, $34$, and $38$, but not necessarily in the same order.




      • F lives three floors above the one who is $27$ years old.

      • C lives just above F.

      • The difference of age between A and C is the same as the difference between D and H.

      • The one who is $34$ years old is living on the top floor.

      • Only two people are older than F.

      • B is $26$ years old.

      • H is older than to F.

      • The number of floors above D is the same as the number below E.

      • C lives on an odd numbered floor.

      • B lives just above the one who is $24$ years old.

      • D is 5 years elder to G.

      • One person lives between G and the one who is 24 years old.

      • The difference of age between A and B is at least $3$ years.

      • The number of floors between G and C is the same as A and E.




      Is the solution to the above problem:




      D 34


      G 29


      B 26


      C 24


      F 31


      A 20


      H 38


      E 27




      Source: Q 6-10










      share|improve this question











      $endgroup$




      Here is the riddle:




      Eight people, 'A', 'B', 'C', 'D', 'E', 'F', 'G', and 'H' live in an eight–story building. The lowest floor is numbered '1' and the topmost floor is numbered '8'. The peoples' ages are $20$, $24$, $26$, $27$, $29$, $31$, $34$, and $38$, but not necessarily in the same order.




      • F lives three floors above the one who is $27$ years old.

      • C lives just above F.

      • The difference of age between A and C is the same as the difference between D and H.

      • The one who is $34$ years old is living on the top floor.

      • Only two people are older than F.

      • B is $26$ years old.

      • H is older than to F.

      • The number of floors above D is the same as the number below E.

      • C lives on an odd numbered floor.

      • B lives just above the one who is $24$ years old.

      • D is 5 years elder to G.

      • One person lives between G and the one who is 24 years old.

      • The difference of age between A and B is at least $3$ years.

      • The number of floors between G and C is the same as A and E.




      Is the solution to the above problem:




      D 34


      G 29


      B 26


      C 24


      F 31


      A 20


      H 38


      E 27




      Source: Q 6-10







      logical-deduction






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 6 hours ago









      Rupert Morrish

      3,3811933




      3,3811933










      asked 9 hours ago









      SoumeeSoumee

      1485




      1485






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          Answer




          Yes, and you don't need all the clues to deduce it




          Reasoning




          B is 26 years old.
          Only two persons are elder to F. $Rightarrow$ F is 31.
          D is 5 years elder to G $Rightarrow$ D is 29 or 34 and G is 24 or 29, respectively.
          One person lives between G and the one who is 24 years old $Rightarrow$ G must now be 29 and D is 34.
          H is elder to F $Rightarrow$ H must be 38
          The difference of age between A and C is same as difference between D and H. $Rightarrow$ A and C differ by 4 years (hence 20 and 24 in some order) $Rightarrow$ E is 27 since it is the only age left.
          Difference of age between A and B is at least 3 years. $Rightarrow$ A must be 20 $Rightarrow$ C must be 24.

          The ages of all the occupants have been deduced at this point

          The one who is 34 years old is living on top floor. $Rightarrow$ D lives on the top floor.
          The number of floors above D is same as below E $Rightarrow$ E lives on the bottom floor.
          F lives three floors above the one who is 27 years old. $Rightarrow$ F lives on floor 4.
          C lives just above F. $Rightarrow$ C lives on floor 5
          B lives just above the one who is 24 years old. $Rightarrow$ B lives on floor 6.
          One person lives between G and the one who is 24 years old. $Rightarrow$ G is 2 floors away from C (either floor 3 or 7).
          The number of floors between G and C is same as A and E. $Rightarrow$ A lives on floor 3 $Rightarrow$ G lives on floor 7 $Rightarrow$ H lives on floor 2 since it is the only one left

          Hence, we've deduced all the ages and floors.




          Unused (superfluous) clue




          C lives on an odd numbered floor.







          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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f79374%2fpeople-having-different-ages-residing-on-different-floors-of-a-building%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2












            $begingroup$

            Answer




            Yes, and you don't need all the clues to deduce it




            Reasoning




            B is 26 years old.
            Only two persons are elder to F. $Rightarrow$ F is 31.
            D is 5 years elder to G $Rightarrow$ D is 29 or 34 and G is 24 or 29, respectively.
            One person lives between G and the one who is 24 years old $Rightarrow$ G must now be 29 and D is 34.
            H is elder to F $Rightarrow$ H must be 38
            The difference of age between A and C is same as difference between D and H. $Rightarrow$ A and C differ by 4 years (hence 20 and 24 in some order) $Rightarrow$ E is 27 since it is the only age left.
            Difference of age between A and B is at least 3 years. $Rightarrow$ A must be 20 $Rightarrow$ C must be 24.

            The ages of all the occupants have been deduced at this point

            The one who is 34 years old is living on top floor. $Rightarrow$ D lives on the top floor.
            The number of floors above D is same as below E $Rightarrow$ E lives on the bottom floor.
            F lives three floors above the one who is 27 years old. $Rightarrow$ F lives on floor 4.
            C lives just above F. $Rightarrow$ C lives on floor 5
            B lives just above the one who is 24 years old. $Rightarrow$ B lives on floor 6.
            One person lives between G and the one who is 24 years old. $Rightarrow$ G is 2 floors away from C (either floor 3 or 7).
            The number of floors between G and C is same as A and E. $Rightarrow$ A lives on floor 3 $Rightarrow$ G lives on floor 7 $Rightarrow$ H lives on floor 2 since it is the only one left

            Hence, we've deduced all the ages and floors.




            Unused (superfluous) clue




            C lives on an odd numbered floor.







            share|improve this answer











            $endgroup$


















              2












              $begingroup$

              Answer




              Yes, and you don't need all the clues to deduce it




              Reasoning




              B is 26 years old.
              Only two persons are elder to F. $Rightarrow$ F is 31.
              D is 5 years elder to G $Rightarrow$ D is 29 or 34 and G is 24 or 29, respectively.
              One person lives between G and the one who is 24 years old $Rightarrow$ G must now be 29 and D is 34.
              H is elder to F $Rightarrow$ H must be 38
              The difference of age between A and C is same as difference between D and H. $Rightarrow$ A and C differ by 4 years (hence 20 and 24 in some order) $Rightarrow$ E is 27 since it is the only age left.
              Difference of age between A and B is at least 3 years. $Rightarrow$ A must be 20 $Rightarrow$ C must be 24.

              The ages of all the occupants have been deduced at this point

              The one who is 34 years old is living on top floor. $Rightarrow$ D lives on the top floor.
              The number of floors above D is same as below E $Rightarrow$ E lives on the bottom floor.
              F lives three floors above the one who is 27 years old. $Rightarrow$ F lives on floor 4.
              C lives just above F. $Rightarrow$ C lives on floor 5
              B lives just above the one who is 24 years old. $Rightarrow$ B lives on floor 6.
              One person lives between G and the one who is 24 years old. $Rightarrow$ G is 2 floors away from C (either floor 3 or 7).
              The number of floors between G and C is same as A and E. $Rightarrow$ A lives on floor 3 $Rightarrow$ G lives on floor 7 $Rightarrow$ H lives on floor 2 since it is the only one left

              Hence, we've deduced all the ages and floors.




              Unused (superfluous) clue




              C lives on an odd numbered floor.







              share|improve this answer











              $endgroup$
















                2












                2








                2





                $begingroup$

                Answer




                Yes, and you don't need all the clues to deduce it




                Reasoning




                B is 26 years old.
                Only two persons are elder to F. $Rightarrow$ F is 31.
                D is 5 years elder to G $Rightarrow$ D is 29 or 34 and G is 24 or 29, respectively.
                One person lives between G and the one who is 24 years old $Rightarrow$ G must now be 29 and D is 34.
                H is elder to F $Rightarrow$ H must be 38
                The difference of age between A and C is same as difference between D and H. $Rightarrow$ A and C differ by 4 years (hence 20 and 24 in some order) $Rightarrow$ E is 27 since it is the only age left.
                Difference of age between A and B is at least 3 years. $Rightarrow$ A must be 20 $Rightarrow$ C must be 24.

                The ages of all the occupants have been deduced at this point

                The one who is 34 years old is living on top floor. $Rightarrow$ D lives on the top floor.
                The number of floors above D is same as below E $Rightarrow$ E lives on the bottom floor.
                F lives three floors above the one who is 27 years old. $Rightarrow$ F lives on floor 4.
                C lives just above F. $Rightarrow$ C lives on floor 5
                B lives just above the one who is 24 years old. $Rightarrow$ B lives on floor 6.
                One person lives between G and the one who is 24 years old. $Rightarrow$ G is 2 floors away from C (either floor 3 or 7).
                The number of floors between G and C is same as A and E. $Rightarrow$ A lives on floor 3 $Rightarrow$ G lives on floor 7 $Rightarrow$ H lives on floor 2 since it is the only one left

                Hence, we've deduced all the ages and floors.




                Unused (superfluous) clue




                C lives on an odd numbered floor.







                share|improve this answer











                $endgroup$



                Answer




                Yes, and you don't need all the clues to deduce it




                Reasoning




                B is 26 years old.
                Only two persons are elder to F. $Rightarrow$ F is 31.
                D is 5 years elder to G $Rightarrow$ D is 29 or 34 and G is 24 or 29, respectively.
                One person lives between G and the one who is 24 years old $Rightarrow$ G must now be 29 and D is 34.
                H is elder to F $Rightarrow$ H must be 38
                The difference of age between A and C is same as difference between D and H. $Rightarrow$ A and C differ by 4 years (hence 20 and 24 in some order) $Rightarrow$ E is 27 since it is the only age left.
                Difference of age between A and B is at least 3 years. $Rightarrow$ A must be 20 $Rightarrow$ C must be 24.

                The ages of all the occupants have been deduced at this point

                The one who is 34 years old is living on top floor. $Rightarrow$ D lives on the top floor.
                The number of floors above D is same as below E $Rightarrow$ E lives on the bottom floor.
                F lives three floors above the one who is 27 years old. $Rightarrow$ F lives on floor 4.
                C lives just above F. $Rightarrow$ C lives on floor 5
                B lives just above the one who is 24 years old. $Rightarrow$ B lives on floor 6.
                One person lives between G and the one who is 24 years old. $Rightarrow$ G is 2 floors away from C (either floor 3 or 7).
                The number of floors between G and C is same as A and E. $Rightarrow$ A lives on floor 3 $Rightarrow$ G lives on floor 7 $Rightarrow$ H lives on floor 2 since it is the only one left

                Hence, we've deduced all the ages and floors.




                Unused (superfluous) clue




                C lives on an odd numbered floor.








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 9 hours ago

























                answered 9 hours ago









                hexominohexomino

                39.8k3117186




                39.8k3117186






























                    draft saved

                    draft discarded




















































                    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%2f79374%2fpeople-having-different-ages-residing-on-different-floors-of-a-building%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

                    Callistus I

                    Tabula Rosettana

                    How to label and detect the document text images