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

    Alternate solution

    Module 5 Day 12 Challenge Part 2
    4
    4
    53
    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.
    • Potato2017P
      Potato2017 M5★
      last edited by debbie

      Module 5 Week 3 Day 12 Challenge Part 2 Mini-Question

      Couldn't we do the 3 mod 5 and 5 mod 7 first and notice that they are both -2, and therefore those conditions together are equal to -2 mod 35 or 33 mod 35, and then include the 2 mod 3 in to try the results? You only have to try 2 numbers, 33 and 68 (because 68 is 2 mod 3)...

      The best Potato
      aops: Potato2017
      yt: http://bit.ly/potatosubscribe
      discord: Potato2017#1822 (it's tent#0001 now)
      tetr.io: https://ch.tetr.io/u/potato2017
      -Potato2017

      debbieD T P 3 Replies Last reply Reply Quote 5
      • debbieD
        debbie ADMIN M0★ M1 M5 @Potato2017
        last edited by

        @Potato2017 Yes, that's a great way to do this problem! I like your idea. It is faster than the current explanation, and I'll try to incorporate it into the lesson. Thanks very much for sharing! 🙂

        1 Reply Last reply Reply Quote 4
        • T
          Tylenol M2 M3★ M4 M5 @Potato2017
          last edited by

          @Potato2017 That's pretty cool!

          1 Reply Last reply Reply Quote 1
          • P
            professionalbronco M0★ M1★ M2★ M3 M5★ @Potato2017
            last edited by

            @potato2017 I used the exact same method here, and it was pretty quick.

            The Daily Challenge with Po-Shen Loh is the best!
            aops user = captainnobody

            1 Reply Last reply Reply Quote 0

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