chalijutt903's blog

By chalijutt903, history, 21 month(s) ago, In English

Hi, I hope all of you are well. Recently, I start practicing number theory problems, and during this, I face the difficulty of solving the problems that involved using the concept of GCD And LCM. By reading the problem statement I don't get even an idea that how we could use the LCM or GCD techniques here. Recently in Codeforces Round 860 DIV_2, problem "C" involved such a thing, after reading the solution I understood the solution, but I have no clear idea why GCD or LCM work there, So, I can use them in other problems. I know most of the people say to read the properties, but how to apply them? Please help me to figure out it.

  • Vote: I like it
  • +16
  • Vote: I do not like it

»
21 month(s) ago, # |
Rev. 3   Vote: I like it -58 Vote: I do not like it

you can find applications of using GCD and LCM in real life from here

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +42 Vote: I do not like it

    Smells like chatgpt

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it +15 Vote: I do not like it

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +25 Vote: I do not like it

        Idk, to me it's so obvious I don't need a tool like that, but thanks for checking

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +9 Vote: I do not like it

        A better way to check:

        Chat-GPT-Response

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it +16 Vote: I do not like it

    Bruh. Using chatGPT to generate answers to genuine questions is not at all helpful. And it's even giving out completely wrong answers here.

    "For example, if you have to solve the equation 3x + 5y = 7, you can use GCD to check if 7 is a multiple of the GCD of 3 and 5. Since GCD(3, 5) = 1, 7 cannot be expressed as a linear combination of 3 and 5, so there are no integer solutions to this equation."

    It should be quite obivous that 7 is a multiple of 1. Thus, a solution must exist, for example (x, y) = (4, -1).

    • »
      »
      »
      21 month(s) ago, # ^ |
        Vote: I like it -13 Vote: I do not like it

      Thanks for your advice I didn't notice that I will try to be careful the next time.

      • »
        »
        »
        »
        21 month(s) ago, # ^ |
          Vote: I like it +8 Vote: I do not like it

        There should be no "next time". Please don't respond to other poeple with chatGPT generated answers.

        • »
          »
          »
          »
          »
          21 month(s) ago, # ^ |
            Vote: I like it +3 Vote: I do not like it

          Would anybody likes to help me over this problem?