Modular Arithmetic in Mathematica & the Wolfram Language

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

ความคิดเห็น • 18

  • @Socratica
    @Socratica  11 หลายเดือนก่อน

    Mathematica Essentials - the first PRO COURSE from Socratica
    Buy here: www.socratica.com/courses/mathematica-essentials

  • @tracykarinp
    @tracykarinp ปีที่แล้ว +4

    Mathematica is a *Beautiful* way to find solutions! Thank you for creating this wonderful video!

    • @Socratica
      @Socratica  ปีที่แล้ว +1

      Thank you for your kind words, Tracy!

  • @cykkm
    @cykkm 11 หลายเดือนก่อน

    The 3rd argument to Mod[] is worth mentioning: the lower bound of the result range. E.g., if you want the representative range around 0, Mod[a, b, -b/2] does the trick:
    Table[Mod[n, 7, -3], {n, 0, 7}] ⇒ {0, 1, 2, 3, -3, -2, -1, 0}
    7:22: Ughhh... :) Ctrl+L copies closest input cell's contents from above and inserts at point if inside a cell, or to a new input cell if the point is between cells.

  • @fizixx
    @fizixx ปีที่แล้ว

    This is a terrific series!

  • @AKsMath2526
    @AKsMath2526 ปีที่แล้ว

    Very helpful video

  • @thamilanban
    @thamilanban ปีที่แล้ว

    1:24 is this explanation correct for 1(mod 7). 34 divided by 7 gives 6 remainders. I am confused.

    • @cykkm
      @cykkm 11 หลายเดือนก่อน

      Correct, 34 ≡ 6 (mod 7), both 6 and 34 are in the same congruency class, the last line.

  • @hasratullah7386
    @hasratullah7386 ปีที่แล้ว

    Great 👍

  • @martinnyberg9295
    @martinnyberg9295 ปีที่แล้ว

    0:13 Why do some people put arrows at both ends? 🤔 The arrow is there to point in the direction of increase. (And, no, it is not an exclusively american thing; I went to uni in the US and my profs did not do this, but I have seen brits and south-asians on YT who do).

    • @Socratica
      @Socratica  ปีที่แล้ว

      Interesting! In general the arrowheads indicate the line continues in both directions. With this interpretation, the interval (0, infinity) would only point to the right while (-infinity, 0) would only point to the left.

    • @martinnyberg9295
      @martinnyberg9295 ปีที่แล้ว

      @@Socratica It’d be interesting to find the source of this usage. In the usage I’m used to (with the arrow indicating the direction of increase, obviously in use in the western world in the late 1900s since I am Swedish educated in Sweden and the US 😊), a number line is infinite by default; to show that you only want to consider part of it you have to use special symbols for intervals, like filled or open circles.

  • @kirbymarchbarcena
    @kirbymarchbarcena ปีที่แล้ว +1

    I guess I have to re-watch this again and again to better understand it.

    • @Socratica
      @Socratica  ปีที่แล้ว

      It's amazing how sometimes it takes a few days and suddenly it becomes clear! Maybe our brains are puzzling it out in the background in the meantime.

  • @LycoKodo
    @LycoKodo ปีที่แล้ว +2

    First :)

  • @williamjordan9237
    @williamjordan9237 ปีที่แล้ว

    Second @Battery
    Like a negative post on a battery @Battery.
    All good.
    Positive!

  • @CesarMaglione
    @CesarMaglione ปีที่แล้ว +1

    Excellent ☝️take your like👍