Forum — Daily Challenge
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Can someone please explain this problem.

    Module 5 Day 3 Your Turn Part 3
    6
    9
    137
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      InTeReStInG M5
      last edited by debbie

      Module 5 Day 3 Your Turn Part 3 Mini-Question Solution

      It says that this number is odd, when it is even because 8^7^6^5 and so on can be expressed as 8^(7!), and we know that even*even=even.

      v4913V 1 Reply Last reply Reply Quote 5
      • v4913V
        v4913 MOD M0 M1 M2 M3 M4 M5 @InTeReStInG
        last edited by

        Very close! It would only be equal to 8^(7!) if there were parentheses around each term like this:
        Screenshot from 2021-01-20 09-37-40.png
        If there are no parentheses, the powers cannot be multiplied, and so it equals this:
        Screenshot from 2021-01-20 09-28-48.png
        Since the exponent on the 8 is a power of 7, which is odd, the answer is equal to 8^{1} mod 9.

        I A 2 Replies Last reply Reply Quote 7
        • mathnerd_101M
          mathnerd_101 M0 M3
          last edited by

          @v4913 said in Can someone please explain this problem.:

          Very close! It would only be equal to 8^(7!) if there were parentheses around each term like this:
          Screenshot from 2021-01-20 09-37-40.png
          If there are no parentheses, the powers cannot be multiplied, and so it equals this:
          Screenshot from 2021-01-20 09-28-48.png
          Since the exponent on the 8 is a power of 7, which is odd, the answer is equal to 8^{1} mod 9.

          o pro v4913 post o

          If you see the text messages between two programmers, here are some common acronyms to know:
          imo: iteration may overload
          brb: bad recursion brb
          rofl: right-oriented frame layout

          1 Reply Last reply Reply Quote 4
          • I
            InTeReStInG M5 @v4913
            last edited by

            @v4913 Ok, thanks! I also have another question about this problem. When it is odd, why is the answer -1 mod 9?

            debbieD audreyA v4913V 3 Replies Last reply Reply Quote 4
            • debbieD
              debbie ADMIN M0★ M1 M5 @InTeReStInG
              last edited by

              @neatlobster @v4913 Thank you 🙂

              1 Reply Last reply Reply Quote 3
              • audreyA
                audrey MOD @InTeReStInG
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • v4913V
                  v4913 MOD M0 M1 M2 M3 M4 M5 @InTeReStInG
                  last edited by

                  @neatlobster Good question! Since 8 = -1 mod 9, and the powers of -1 go -1, 1, -1, 1, etc, all (-1)^{even} = 1 mod 9 and all (-1)^{odd} = -1 mod 9. Since we are talking about modulos, and 8 is the same as -1 mod 9, this means (8)^{even} = 1 mod 9, and (8)^{odd} = -1 mod 9.

                  1 Reply Last reply Reply Quote 3
                  • A
                    amusingminnow M0 M1 M2 M3 M4 M5 @v4913
                    last edited by

                    @v4913 Since there isn't any parentheses, what does this formula mean?
                    Screen Shot 2021-06-13 at 10.41.06.png

                    v4913V 1 Reply Last reply Reply Quote 1
                    • v4913V
                      v4913 MOD M0 M1 M2 M3 M4 M5 @amusingminnow
                      last edited by v4913

                      @amusingminnow Good question! It's highly non-obvious, but the rules of operations say that when there are stacked powers with no parentheses, we work from the top down, so for example, 2477c580-a159-4f31-9eae-6ee1887a5d7a-image.png
                      We can continue this pattern to evaluate the entire expression.

                      (Sorry for the bad formatting lol)

                      1 Reply Last reply Reply Quote 1

                      • 1 / 1
                      • First post
                        Last post
                      Daily Challenge | Terms | COPPA