Calculator Number Trick: rectangle patterns

Поділитися
Вставка
  • Опубліковано 30 тра 2019
  • Here is the original Fermat's Library tweet.
    / 1052544515632959488
    If you want 100% renewable energy: check out Bulb!
    bulb.co.uk/refer/mattp5449
    We make Think Maths teaching resources to go with Stand-up Maths videos. For this one we have a cheat sheet to an algebraic proof.
    think-maths.co.uk/standupmaths...
    Many people are asking for the gif. It’s available in different forms in various places online.
    tenor.com/view/matt-parker-pa...
    imgur.com/gallery/HyPfz
    Originally a homage to the Tim and Eric gif. From this video: • Calculating π by hand:...
    The ticking sound in the video was from here.
    freesound.org/people/KentVide...
    CORRECTIONS
    - I did not properly think through the hexadecimal example. I meant that any such digits on a base-10 calculator would give multiples of 11. On a true hexadecimal calculator you would get multiples of 17 (or any n+1 for base-n). First spotted by MasterHigure.
    - Let me know if you spot anything else!
    Thanks to my Patreon supports who do support these videos and make them possible. Here is a random subset:
    Igor Bogoslavskyi
    James Williams
    Magesh Jayapandian
    David Lake
    Chris W West
    Support my channel and I can make more maths videos:
    / standupmaths
    Music by Howard Carter
    Filming and editing by Matt Parker
    Design by Simon Wright
    MATT PARKER: Stand-up Mathematician
    Website: standupmaths.com/
    Maths book: wwwh.umble-pi.com
    Nerdy maths toys: mathsgear.co.uk/
  • Розваги

КОМЕНТАРІ • 630

  • @xnick_uy
    @xnick_uy 5 років тому +540

    "Never too early to generalize" is one of the most beautiful self-referencing random phrases I've met.

    • @OrangeC7
      @OrangeC7 5 років тому +9

      How is that self-referential? I'm having trouble seeing it.

    • @TotalWarbringer
      @TotalWarbringer 5 років тому +44

      @@OrangeC7 It's "never" too early to generalize -> In the general case, it is not too early to generalize

    • @zmaj12321
      @zmaj12321 5 років тому +41

      @@OrangeC7 Because the statement itself is a generalization (about when you should generalize)

    • @OrangeC7
      @OrangeC7 5 років тому +6

      @@TotalWarbringer I see, thank you!

    • @Xeridanus
      @Xeridanus 5 років тому +8

      @@OrangeC7 I missed it too. Language is not my strong suit, hence why I'm here. :P

  • @unvergebeneid
    @unvergebeneid 5 років тому +387

    Well, for a hex calculator, you won't get multiples of eleven but multiples of hexadecimal one-one, which is better known as seventeen, aka a Parker eleven.

    • @highpath4776
      @highpath4776 5 років тому +30

      Seventeen is Base Plus 1. Eleven is (base10) + 1. So can we generalise that for base 8 calculator you have it with square ones = nine (base + 1 ) again? (i have not tested this.

    • @jetison333
      @jetison333 5 років тому +11

      @@highpath4776 well if its always 11 in each base, as in ( 1 * b^1) + ( 1 * b^0) where b is the base number, then it simplifies to b + 1 and tgete you go.

    • @WorBlux
      @WorBlux 5 років тому +7

      It works for normal 11 is you consider each key-press as a decending power of ten. For instace 13131313 is not a multpile of 11, but 14443 is.

    • @unvergebeneid
      @unvergebeneid 5 років тому +4

      @@highpath4776 Yes, it is always one more than the base, for the reason jetison333 stated.

    • @Koisheep
      @Koisheep 5 років тому +5

      At this rate someone will end up naming Parker X to something important in math just to make the ultimate meme

  • @alubeixu
    @alubeixu 5 років тому +236

    "My goal was not to do it algebraically"
    *Proceeds to do an algebraic proof*

    • @Xeridanus
      @Xeridanus 5 років тому +1

      @@samgraf7496 Is that not what you got?

    • @Murzac
      @Murzac 5 років тому +4

      Yeah it's about as simply explained there as it could be and you can actually easily figure out the bowtie question if you look at that for a second as well. Because changing the order results in the +A's or +B's to not be in adjacent slots you end up with adding a number that's a multiple of 101 or 1001 instead at some point and that isn't a multiple of 11 so it breaks it. Trying to work it out with numbers is probably a bit more tricky but from the picture it's much clearer.

  • @mikikaboom9084
    @mikikaboom9084 5 років тому +935

    Why didn't you unbox that calculator?!

  • @DorFuchs
    @DorFuchs 5 років тому +94

    I saw, that the 1st and 2nd number have the same difference as the 3rd and 4th number - but in the other direction. So we have
    a*1000 + (a+n)*100 + b*10 + (b-n)
    = 1100a + 100n + 11b - n
    = 11 * (100a + b + 9n)

    • @jaishkhan7442
      @jaishkhan7442 3 роки тому

      Same thinking i see

    • @teeesen
      @teeesen 3 роки тому

      Yes. And this shows that it works for parallelograms too, which Matt’s method did (I think) not.

    • @kronsohn1786
      @kronsohn1786 3 роки тому +8

      DorFuchs just casually commenting under a Matt Parker Video without anyone knowing who he is and how many German students he has entertained and saved

    • @sebastiangudino9377
      @sebastiangudino9377 3 роки тому

      This proof is sooo clean and clever. I really love it!

    • @mukkuru
      @mukkuru 3 роки тому

      @@teeesen pretty sure it does. A paralellogram would just mean that an additional integer is added to A or B, which wouldn't change the final result since it's generalised anyways. But you're right that he didn't touch upon this.

  • @johnchessant3012
    @johnchessant3012 5 років тому +158

    6:50 "even though it is a prime number"
    Hahahahahahah of course

  • @Grimlock1979
    @Grimlock1979 5 років тому +107

    If you include 0, the keys form a Parker square.

  • @landonkryger
    @landonkryger 5 років тому +352

    0:57 "Go ____clockwise"
    Parker script flub + audio editing?

    • @meithecatte8492
      @meithecatte8492 5 років тому +56

      You can sort of hear him breathe three times at that moment.

    • @landonkryger
      @landonkryger 5 років тому +68

      @@meithecatte8492 You can read his lips saying anticlockwise.

    • @sadhlife
      @sadhlife 5 років тому +21

      loool i didn't even notice. thanks for that one xD

    • @Sparrow420
      @Sparrow420 5 років тому +7

      Great catch, haha.

    • @WantEpicMusic
      @WantEpicMusic 5 років тому +15

      Parker clockwise

  • @blacktimhoward4322
    @blacktimhoward4322 3 роки тому +16

    "This calculator will still work. Well not as a calculator obviously"
    *theorists be like*

    • @Henrix1998
      @Henrix1998 3 роки тому +2

      It has an even and an odd number, you can construct any number with them

  • @bensomnerbogard991
    @bensomnerbogard991 5 років тому +51

    Matt, you specifically said I could use any calculator that I choose and this would work. I picked my Curta Type I!!!!

  • @ssj3gohan456
    @ssj3gohan456 5 років тому +1

    This video was much better than I expected. This is a much more general thing than just a quirk of particular calculators!

  • @ggentertainment2737
    @ggentertainment2737 5 років тому +20

    1:07 imagine if every youtuber was so nice to their video editor :]

  • @firefish111
    @firefish111 5 років тому +39

    What a co-incidence.
    I was just thinking you might release a new video!

  • @lindascoon4652
    @lindascoon4652 5 років тому +10

    When I see some interesting number patterns I think "thats interesting" then carry on with my life.
    Mathematicians are great because they stop and ask why.

  • @NickiRusin
    @NickiRusin 5 років тому +2

    Feels really nice to work out the problem by yourself and then watch Matt go through very similar steps in a different way.

  • @jamespurser8696
    @jamespurser8696 5 років тому +14

    Amazing pattern, great fun to look at the algebra behind it.

  • @bowel_movement
    @bowel_movement 4 роки тому +2

    Matt, I'm always amazed at how intuitively you explain maths. You're an awesome guy :)

  • @sharkdog01
    @sharkdog01 3 роки тому

    How come these videos always cheer me up?
    Best UA-cam personality

  • @netsch20
    @netsch20 5 років тому +5

    Also works with parallelograms such as [1,5,6,2] or [8,9,2,1] and also with two diagonal numbers like 2 and 6 [2,6,6,2]

    • @e11eohe11e
      @e11eohe11e 5 років тому

      That's cool! And the 2662 works because it's a parallelogram with side length zero.

  • @ShakalDraconis
    @ShakalDraconis 5 років тому +1

    OK, I was amused and intrigued with the puzzle and found the logic of the proof for why this works fun to work out.
    Then Matt threw in the parallelogram bit and my mind suddenly blew. Like, after a second I could see that sure, it would extend that way as well, but that was the bit that just suddenly hit me out of nowhere. Nicely presented.

  • @MathIguess
    @MathIguess 5 років тому +19

    "This will still work. Well, not as a calculator, that's ridiculous" xD lol

    • @jonathanlimm6722
      @jonathanlimm6722 5 років тому

      In fact, it doesn't work at all with two-digit numbers. [insert Parker square joke here].

  • @elaineandjohn9599
    @elaineandjohn9599 5 років тому +5

    This stuff is just great! Love your videos, excellent work. One question: Are you like a genius or something?

  • @TechnicJelle
    @TechnicJelle 5 років тому +135

    A square, you say?
    A PARKER square?

    • @matthewlongtin4148
      @matthewlongtin4148 5 років тому +7

      That'd be if it worked in every area, but one.

    • @Falkano
      @Falkano 5 років тому

      And a parker cube in the background

    • @Xeridanus
      @Xeridanus 5 років тому +1

      It became a parker square when he generalised it to parallelagrams.

  • @cagedtigersteve
    @cagedtigersteve 5 років тому +27

    type 58008 and turn your calculator upside down....hehe

  • @dorian4771
    @dorian4771 3 роки тому

    Congratulations on 800,000 subs!

  • @ruelprakash7696
    @ruelprakash7696 5 років тому

    So Simple, SO Brilliant. Love Your Videos Sir.

  • @brendancskinner
    @brendancskinner 5 років тому +5

    Any parallelogram works too.
    Also two squares, or a rectangle and a square, or any combo as long as you complete the pattern.
    Eg: 31,795,478÷11
    Also like Matt's 5555, you can do 1199 or 1166 or even 22554477 or a combo 118,822,775,632 crazy

    • @nelsblair2667
      @nelsblair2667 3 роки тому +1

      Numerals gone wild! But in a surprisingly orderly way.

  • @yuvalne
    @yuvalne 5 років тому +5

    I recognise that gif and am very happy that you used it

  • @ethanfields3853
    @ethanfields3853 5 років тому +3

    Love you Matt!!

  • @benbradley_123
    @benbradley_123 5 років тому +5

    I love that smug little half-smile after the joke at the end Matt! :D

    • @The_Professor123
      @The_Professor123 5 років тому

      Benjamin Bradley just like herbert gross at mit

  • @abdaniel487
    @abdaniel487 5 років тому +2

    3:35 "It's never too early to generalize." This might be one of the funniest thing I hear for weeks. I have no idea why I found that sop funny.

  • @aidanwansbrough7495
    @aidanwansbrough7495 5 років тому

    That's pretty cool! Love your videos!

  • @alexdalistsennewald937
    @alexdalistsennewald937 5 років тому +3

    brilliant, love your proof!

  • @themultigamer5682
    @themultigamer5682 5 років тому +2

    It works for any almost regular polygon, besides some triangles, as long as the polygon has an even amount of button presses to create, and after you've finished a shape you can start a new one adding on and it'll still be divisible by 11.

  • @NKrypt
    @NKrypt 5 років тому +23

    Just from some quick testing it seems like it works for parallelograms as well... and the 2,4,6,8 square
    Edit: oh he said that at the end welp...I tried

    • @guyspy21
      @guyspy21 5 років тому +1

      good job tho

    • @VladVladislav790
      @VladVladislav790 4 роки тому

      But isn't a rectangle just a special case of parallelogram?

  • @MrCyanGaming
    @MrCyanGaming 5 років тому +1

    this really does work with any rectangle, I tried some simple examples like the rectangle [8,9] making 8998/11=818 and [8,6,2,4] being a rotated square making 8624/11=784
    However I was surprised when this worked with a rotated square with the base as [1,6] if you extend beyond the limits of just the 3x3 square you can get the number above 8 to be 11 because when you go up a layer it's +3 and then the number to the left of 7 would be 6 because going left is -1 so you get a square of [1,6,11,6] and when you add them together like this:
    1000
    +600
    +110
    +6
    you get 1716/11=156 and the cool thing is, [1,7,1,6] is not a possible rectangle on the grid, yet it still works, because it's possible to make if you break the boundaries.

    • @MrCyanGaming
      @MrCyanGaming 5 років тому

      another cool example using the similar numbers, a 12 instead of the first 1, this creates a parallelogram, where 12 is 9+3 (going up a layer)
      [12,7,1,6]
      12716/11=1156
      and in reverse order:
      6000
      +100
      +70
      +12
      6182/11=562
      [6,1,8,2] again is not a valid pattern on the 3x3 grid normally, but can be found through this boundary extension method

  • @cheeseburgermonkey7104
    @cheeseburgermonkey7104 10 місяців тому

    Here's a similar approach:
    The arrangement of numbers on the keypad tells us that any digit can be represented by 3v+h
    v=vertical coordinate
    h=horizontal coordinate
    (we won't actually have to specify the possible values of v and h, but lets just say v is in the range of 0-2 and h in the range of 1-3)
    Any orthogonal rectangle drawn with vertices on the grid of numbers will have length l and (vertical) width w
    Assuming length and width can be positive _and_ negative means we can actually define only one way of
    tracing a rectangle, just flipped around depending on the sign of l and w
    assume 5698 is the correct way of tracing, with length 1 and width 1, starting where the relative l and w both = 0
    then the number can be represented as 3v+h,3v+h+l,3v+h+l+w,3v+h+w
    in base-10 positional notation, this evaluates as 1000(3v+h)+100(3v+h+l)+10(3v+h+l+w)+3v+h+w
    =3000v+1000h+300v+100h+100l+30v+10h+10l+10w+3v+h+w
    =3000v+300v+30v+3v+1000h+100h+10h+h+100l+10l+10w+w
    =3333v+1111h+110l+11w
    All the coefficients are divisible by 11!
    11(303v+101h+10l+w)
    (And we also get a nice formula for determining the value of a rectangular pattern from just the properties of the rectangle and where it is on the keypad)

  • @thabangnkopane4626
    @thabangnkopane4626 4 роки тому

    Your such quicker smart thinker . I admire you crestivity ingenuity in this field as well as all your passion in what you do .

  • @jamie9926
    @jamie9926 5 років тому

    Just finished Humble Pi and then a notification of an upload! Awesome

  • @arikwolf3777
    @arikwolf3777 5 років тому +20

    The diamond shaped 8426 works. 8426 / 11 = 766
    Also, 7238 / 11 = 658. 1562 / 11 = 142
    So all parallelograms work, even if the width is 0: 2662 / 11 = 242

    • @wkrijthe
      @wkrijthe 5 років тому +1

      Diamond shape was the first thing I checked, too.

    • @wildgoosechase4642
      @wildgoosechase4642 5 років тому +1

      I think that's a coincidence. Setting up the same visualization as Matt would look like:
      8 + 0 + 0 | 8 - B - A | 8 - 2B + 0 | 8 - B + A
      As you can see, the multiples of eleven are not as clearly obvious as they were in the video. Any number has a 1/11 chance of "accidentally" having this property.

    • @renmaddox
      @renmaddox 5 років тому +4

      @@wildgoosechase4642 Toward the end, Matt says it works for all parallelograms, which includes the diamond shape.
      Here's a slightly different expansion that avoids the negatives:
      use any bottom left "origin" for the diamond, n: n+A | n+B | n+A+B+B | n+A+A+B
      remove the simple nn00 and nn portions: A | B | A+B+B | A+A+B
      remove the simple adjacent As and Bs: A | 0 | 0 | A
      realize that 1001 is a multiple of 11, so any x00x is as well: Done.

    • @arikwolf3777
      @arikwolf3777 5 років тому +1

      @@wildgoosechase4642 : I don't think this a fluke. Imagine extending the number pad like so:
      *6* 7 8 9
      *3* 4 5 6 *7*
      *0* 1 2 3 *4*
      The diamonds 7 5 1 *3* and 9 *7* 3 5 works also. Dividing by 11 = 683 and 885 respectively.

  • @tscoffey1
    @tscoffey1 5 років тому +4

    Cool. I discovered something similar way back in 1975, when I would spend hours just playing with numbers on my first calculator (a Rockwell 5-function).

  • @valeriobertoncello1809
    @valeriobertoncello1809 5 років тому

    Nice find Matt!

  • @notthatcreativewithnames
    @notthatcreativewithnames 5 років тому +1

    5:50 I think we can stretch even further from parallelograms if we have a large enough panel of numbers. We can draw a polygon with 4n sides and still get a multiple of b+1 when b is the base as long as that polygon follows this rule. There must be 2n pairs of parallel sides with the same lengths, and each pair must be separated by an odd number of sides.
    I can do my proof, but not sure if I can put here in the comment box.

  • @LEDewey_MD
    @LEDewey_MD 5 років тому

    Fantastically fun video! Thanks!!

  • @migtrewornan8085
    @migtrewornan8085 5 років тому

    Can I suggest you look into "dividing heads" which machinists use to rotate things precise fractions of a turn. They use plates with circles of different numbers of holes for example three plates with circles of holes. Perhaps you can explain why they use these numbers and if it is an optimal arrangement or not.

  • @Nerd_lass_nach
    @Nerd_lass_nach 5 років тому

    i like the power outlet you got in the backround ... it is wireless in so many ways

  • @KarmCraft
    @KarmCraft 5 років тому +69

    That unsolved 2x2x2 in the background gives me the hibbi jibbies, but you knew that already, didn't you 😏

    • @NoNameAtAll2
      @NoNameAtAll2 5 років тому +11

      Parker Rubik's cube

    • @OrangeC7
      @OrangeC7 5 років тому +6

      He can definitely solve it too, which makes it even worse

    • @preferablygeneric
      @preferablygeneric 5 років тому +10

      I bothers me even more when people leave a 1x1x1 Rubik's cube unsolved

    • @denmartorlanda
      @denmartorlanda 5 років тому +1

      i think its a infinity cube thing, doesnt look like a 2x2x2

    • @sk8rdman
      @sk8rdman 4 роки тому +2

      @@preferablygeneric That's funny. I've never seen a 1x1x1 unsolved.
      I find they're harder to scramble than to solve.

  • @epauletshark3793
    @epauletshark3793 3 роки тому +1

    I love how this video's comment section is people genuinely interested in this and having a conversation about the maths.

  • @husnijabir7748
    @husnijabir7748 4 роки тому

    Wow. The explanation is so simple.

  • @theyruinedyoutubeagain
    @theyruinedyoutubeagain 5 років тому +4

    We're also on Bulb, they're great! 🙌

    • @edskev7696
      @edskev7696 5 років тому

      Me too! Matts getting free electricity now...

  • @otakuribo
    @otakuribo 5 років тому +7

    My mind is blown more than that Parkerized mind_blown.gif (which I absolutely need in my life)

    • @BLiu1
      @BLiu1 5 років тому +1

      Elliot Grey That sure is a sick gif

  • @Mr.D.C.
    @Mr.D.C. 5 років тому +1

    The pattern actually works with any parallelogram you can draw with the buttons! Even if you use 0, although you have to pretend it's underneath the 3 (where it should be)

  • @yakov9ify
    @yakov9ify 5 років тому +4

    Pretty sure there is a much simpler way. Rule of divisibility for 11 is that the sum of the digits in even positions minus the sum of digits in odd positions must be a multiple of 11.
    Because of the cw/CCW way we generate the number that means that the two groups of digits are the two diagonals in the rectangle.
    Now since the difference between the top two digits and the bottom two is the same but their positions are reversed that means that when you subtract their sum on top you get +-A and on the bottom you get -+A which cancels out to get 0 a multiple of 11 so the whole number is a multiple of 11.

  • @mikasa3427
    @mikasa3427 5 років тому

    You can also think about it in terms of the rule to check for divisibility of 11, add and subtract alternating digits in reverse and see if that's divisible by 11, e.g. 1-3+9-7, will always give zero (divisible by 11) for any rectangle because you're adding two pairs of numbers, one which has a difference of +A and one which has a difference of -A.

  • @pikcube
    @pikcube 5 років тому

    When working this out myself, my first thought was "this is a divisibility problem, it wouldn't hurt to put this in the language of modular arithmetic"
    (For those not familiar but want to follow along, taking a number mod n means looking at the remainder after dividing by n. The key insight of why this is useful is you can apply the modular operation at any point during the problem as many times as you want and it will work out the same as applying it at the end).
    Let a b c and d refer to the points of our parallelogram, such that the route a->b->c->d->a is a valid path.
    Part 1: Re-framing our question in modular arithmetic and simplifying to a easier to handle expression
    So abcd (referring to concatenation) being divisible by 11 is the same as taking abcd mod 11 = 0.
    What is abcd mod 11?
    Well abcd is equal to a*10^3+b*10^2+c*10+d. Taking a*10^3+b*10^2+c*10+d mod 11 gives a*(-1)^3+b*(-1)^2+c*(-1)+d, or d-c+b-a.
    So now we can test numbers for divisibility by 11 by doing d-c+b-a mod 11. Awesome!
    Part 2: Show d-c+b-a mod 11 = 0
    Now, in the case of this grid, if we draw 2 parallel lines of equal length, the difference between the end points will remain constant. Translating the line left and right just increments the end points by 1 and a-b=(a+1)-(b+1). Translating up and down just increments the end points by 3, and a-b=(a+3)-(b+3).
    What this means is that a+k=d and b+k=c, where k is just some integer.
    We can now write our expression as (a+k)-(b+k)+b-a. Everything cancels out to 0, and 0 mod 11 is 0. Therefore, abcd is divisible by 11.

  • @breadlane6486
    @breadlane6486 5 років тому

    This was an interesting video: thanks for making it!
    I think your last example is missing a detail to make it work. For instance, if we use the parallelogram 2, 6, 26, 22 as shown in the video, we cannot simply type the digits into a calculator and divide by 11: 262622 is not a multiple of 11. To make this example (or any rectangle or parallelogram) work, one of two things must be done:
    Option A: add 2 * 1000 + 6 *100 + 26 * 10 + 22. The result, 2882, is a multiple of 11.
    Option B: put a leading zero in front of each one-digit number, giving us 02062622. Then, instead of 11, divide by 101: 2062622 is a multiple of 101.
    I believe that the generalization in Option B will work for any "calculator rectangle" with individual numbers up to N-digits long and dividing by 10^N + 1. Sadly, this UA-cam comment area is too small to contain my proof. (In reality, I haven't done the proof but I'm pretty sure this is true nonetheless!)

  • @xck
    @xck 5 років тому +5

    I was about to go to my calculator, then Matt is like “Renewable energy...”

  • @fghsgh
    @fghsgh 5 років тому +1

    Great video, as always.

  • @uttakarshjain
    @uttakarshjain 4 роки тому

    @standupmaths we can also get multiple of 11 by diagonal rectangles as well like 4862 or 8426 etc

  • @StarBoy-fo5ig
    @StarBoy-fo5ig 5 років тому +15

    The parallelogram thing also works on a regular calculator

    • @Teun_Jac
      @Teun_Jac 5 років тому

      @@donaldasayers no?

    • @Teun_Jac
      @Teun_Jac 5 років тому

      @@donaldasayers I tried making parallelograms including the 0, but they are not a multiple of 11.

    • @Teun_Jac
      @Teun_Jac 5 років тому

      @@donaldasayers Oh I misunderstood what you mean by 'under the 3' 😅. I thought you meant when the 0 button is right below the 3 button...
      Edit: oh I guess that did understood you the first time and the numbers do check out. I don't remember what I tried, but I must have done it wrong.

  • @dylankrejci9965
    @dylankrejci9965 5 років тому +22

    what do you call a rectangle that went to the body shop?
    a fixedangle
    I'll show myself out

  • @davidtaylor7327
    @davidtaylor7327 5 років тому +1

    while playing around with this I also realized that any line between 3 numbers diagonal, horizontal, or vertical all are multiples of three. Same with one number typed 3 times

    • @chrisg3030
      @chrisg3030 5 років тому

      Any such line going back again is a multiple of 37, like 159951. Same with one number typed 3 times.

  • @MasterHigure
    @MasterHigure 5 років тому +1

    5:45 You get into trouble with the double digits (at least as long as you just concatenate the numbers). So it doesn't work on any grid. And the hexadecimal one at 5:25 will make numbers that are divisible by 17 instead (since that's what the hexadecimal number "11" represents).

    • @standupmaths
      @standupmaths  5 років тому

      That’s a super good point. I was still thinking of a base-10 calculator but with keys for 0 to 16. Which was careless of me! Have added you to the corrections.

  • @joaopedrob.rodrigues4945
    @joaopedrob.rodrigues4945 5 років тому

    That's actually amazing

  • @An0nym0ushun
    @An0nym0ushun 5 років тому

    You are a good teacher.

  • @slurrymoon
    @slurrymoon 5 років тому

    Messing around with the calculator, I also found that this works for "right triangle" patterns with 6 numbers. e.g. 159,874 is divisible by 11; it equals 14,534. It even works if you start from any position, but you must maintain the right triangle pattern. e.g. 896,357 / 11 = 81,487.

  • @hrbattenfeld
    @hrbattenfeld 5 років тому +4

    The alternating sum of digits will always be = 0 -> divisible by 11

  • @alwysrite
    @alwysrite 5 років тому

    very exciting & noticed the mini-football in the background too!

  • @braedenlarson9122
    @braedenlarson9122 5 років тому

    11 divisibility rule: +-+-... lattice since 10 mod 11 = -1. The numbers are right next to each other in the rectangle pattern, so the difference between each of the start/end pair and the middle pair is the same. Then, you simply add the larger value in calculating divisibility in one pair and add the smaller value in the other while subtracting the number not picked. The disparity always cancels out to 0 when you sum up the digits in the +-+-... fashion, so it always is divisible.

  • @chrisg3030
    @chrisg3030 5 років тому

    If you hit all six digits in succession in that 8923 rectangle Matt chooses, not just the corner ones, you'll get a multiple of 111, wherever you start and in either direction. For example 258963, 896325, 985236. This goes for any such 3 by 2 rectangles on the pad, including "tiny trivial" ones created by mashing a button 3 times.

  • @kamranzamanifarahani3306
    @kamranzamanifarahani3306 5 років тому

    Bloody hell! My head is spinning... Need to watch again and grab my calculator, pen and paper!! Well done Matt.

  • @6alecapristrudel
    @6alecapristrudel 5 років тому

    Since it works with a single number 4 times - rectangle with 0 length sides and with regular rectangles, it works with lines - only one 0 length side. When you hit the end of the line go back until you get 4 digits. Like 2585 or 5852. Works with the diagonals too.

  • @easymathematik
    @easymathematik 5 років тому

    Interesting is that the algebraic proof is simpel and very basic.
    It immediately explains why it works for bigger fields and also for doubling every number and so on.
    More interesting is how to come to the idea considering rectangles mod 11 on a numberfield. :)

  • @KnakuanaRka
    @KnakuanaRka 5 років тому

    I thought of it in terms of the old way of determining if something is a multiple of 11 (alternately adding and subtracting the digits), but to understand how that works, we need to understand modulus functions. If you already get how that works, skip to the §. This is probably going to be confusing, but it’s how I figured it out, and it was a lot more intuitive in my head,.
    Basically, if a mod b=c, that means that dividing a mod b has a remainder of c; for example, 36 mod 5=1 since 36 divided by 5 is 7 with remainder 1. It can also be expressed as d~e mod f, if d and e have the same remainder mod f (which is equivalent to saying their difference is a multiple of f); for example, 36~11 mod 5, since both are 1 mod 5, and their difference is 25, a multiple of 5.
    Now, an important quality of modulus is that the modulus of a product of two numbers is the product of their moduli; for example, to find 35 mod 3, you could factor 35 into 7*5, find their remainders mod 3 (1 and 2), and multiply them for 2*1=2.
    This works because if two numbers a and b are respectively equivalent to c and d mod e, they can be expressed as that modulus plus a multiple of e; multiplying them gets you c*d and a bunch of terms with a factor of e that vanish when you take the modulus.
    For example, with 35, 7 and 5 become 2*3+1 and 1*3+2; FOILing those two gets you (2*3)*(1*3) + (2*3)*2 + 1*(1*3) + 1*2< all terms besides the last have a 3 factor, and thus vanish when you take mod 3, leaving 2.
    Now in terms of numbers mod 11, the place number system means each digit in a number indicates that digit times a power of 10. Now, in mod 11, 10~ -1, since they differ by 11. Thus, the tens digit is effectively multiplied by -1, and the hundreds? -1*-1=1, so 100 mod 11=1 (makes sense, since 99 is a multiple of 11). Each next digit is multiplied by another 10 (equivalent to -1), so the powers of 10 alternate between 1 and -1 mod 11. Hence why you alternately add and subtract digits: you’re effectively multiplying each digit by what its power of 10 is equal to mod 11, and then adding them to get the overall modulus; if you get 0, or a multiple of 11, the number was a multiple of 11.
    § Now that that is established, I tend to use the rule a bit differently, in a way that will make my idea more understandable. If given a number like abcdefg, instead of adding a, subtracting b, adding c, etc. I tend to separate the added digits from the subtracted ones; I’ll put a, c, e, and g in one group and add them together, b, d, and f in another and add them, and subtract one from the other; if the result of 0 or a multiple of 11, the initial number was a multiple of 11.
    Now apply this to the numbers generated from the keyboard. To determine their mod 11, you’d take the first and third digits, add them to create a sum I’ll call A, and subtract the sum of the second and fourth digits, which I’ll call B. Now, think of each number in the sum B in terms of a transformation from the previous digit, which was in sum A. As Parker mentioned, moving once in a direction on the keypad is equivalent to adding or subtracting a specific value from the number.
    Since the opposite sides of rectangles are equal lengths, and the way you go around them while creating the number means the side between the first and second digits is traversed in the opposite direction to that between the third and fourth. Since going from the first digit (in A) to the second (in B) require going the same distance in the opposite direction as going from the third (in A) to the fourth (in B), the change between A and B added by one is subtracted by the other. Thus, the two changes cancel out, A and B are equal, and the difference is 0, making the number a multiple of 11.
    For example, in the 5698 example, doing from 5 to 6 requires one right (adding 2 to B compared to A), whole going from 9 to 8 involves going left once, which subtracts one. Or with 1793, 1->7 involves adding 6, while 9->3 involves subtracting 6. Thus, the two sums are the same, making the remainder 0 and the number a multiple of 11.

  • @Whatwhat3434
    @Whatwhat3434 5 років тому

    I love the ending here!!

  • @Milazzone
    @Milazzone 5 років тому

    Since you like shapes, who doesn't, I picked up a "Euclidean Cube" and have been baffled with it's many hidden faces even though it's a "fairly simple" joining of a few squashed looking Tetrahedron's linked together by the edges (with some magnets as well). I'd love to see if there are any interesting properties about it that a aren't as obvious to those of us that haven't studied math as much. You can even put a bunch of them together to make even crazier looking objects and at the moment find it as my most interesting cube shaped desk toy. Also if you know of any other cube shaped desk toys I'm all ears, I have a collection growing at this point.

  • @Kira-vs4np
    @Kira-vs4np 5 років тому

    He is the guys from 'you 've been warned' and 'numberphile' love u bro.

  • @TheSpacecraftX
    @TheSpacecraftX 5 років тому +1

    Works on the diagonals with 4, 8, 6 and 2 combinations too.

  • @zaubergarden6900
    @zaubergarden6900 5 років тому

    thank you. this really helps

  • @erumaaro6060
    @erumaaro6060 5 років тому

    if you were adding the corners and edges(the steps have to be symmetrical!), starting at the number x, then:
    sum - x * 11111111 / 12221 is an integer.
    this can be generalized for n numbers per edge.
    the series of deviders is:
    12221
    12333321
    12344444321
    12345555554321
    etc.

  • @zaprodk
    @zaprodk 5 років тому

    Mind.blown!

  • @justpaulo
    @justpaulo 5 років тому

    (1:45) Dang it, now you tell us!? I already paused it at 1:25 and examined the proof... Thank you very much Mr. Matt Parker!

  • @jobansand
    @jobansand 5 років тому

    This was really fun to do!!

  • @mohaxorigins9762
    @mohaxorigins9762 5 років тому +9

    We need to make the "Mindblown" GIF at 1:09 a Parker-Meme.

  • @Sam_on_YouTube
    @Sam_on_YouTube 5 років тому

    If you know the 11s multiplication trick, this is obvious. Why the 11s trick works is more difficult.
    In the 11s trick, for a number whose digits are abcd, if a-b+c-d is divisible by 11, then abcd is divisible by 11. So in one case, if a-b+c-d=0, then abcd is divisible by 11. So a-b=d-c.
    In any rectangle, the difference between the two numbers on top is the same as the difference between two numbers on the bottom. But if you are going either clockwise or counterclockwise, then you will be moving in the opposite direction across the top than you will across the bottom. So if you label the corners clockwise from the top left abcd, you will have a-b= either -1 or -2 and d-c is the same number. If yiu don't start with a or if you go the other way, you're just swapping the minus signs in a way that won't change the end result.
    And the same formula holds true for the other grids to which you generalized.
    And it even works if your rectangle is askew. 4862 is divisible by 11 as well.

  • @innamordo
    @innamordo 5 років тому

    also works for "diamond" patterns (eg 4862), "hexagon" patterns (eg 148962), and "6-digit triangle" patterns (eg 159632) !!

    • @thelastcube.
      @thelastcube. 5 років тому

      I mean a diamond _is_ a parallelogram

  • @Draugo
    @Draugo 5 років тому

    Props for reshooting that mind blown meme yourself.
    I feel that the explanation was somewhat lacking and didn't, but since I'm lazy I can't be bothered to investigate further so I'm in the "not having fun investigating it myself" camp :D

  • @turtles10
    @turtles10 5 років тому +87

    Too effective to be Parker squares.
    Maybe the gods are telling us something with these things all being rectangles.

    • @wobblysauce
      @wobblysauce 5 років тому +2

      5,555.

    • @turtles10
      @turtles10 5 років тому

      Jesus, I didn’t expect 60 likes

  • @TimmehTRP
    @TimmehTRP 5 років тому

    Big fan of the explanation

  • @teamruddy611
    @teamruddy611 11 місяців тому

    The hexadecimal calculators work too, but only if you interpret "11" as if it was in hex - same for other bases (just replace 16 with any other number)

  • @abhijaysahay3314
    @abhijaysahay3314 5 років тому

    If think about the divisibility rule for 11(difference of the sum of the two alternating series of digits must be divisible by 11), all the proofs are quite easy. The numbers on the diagonals would be in alternate positions(thats why the bowtie shape does not work) and their sums are always equal.

  • @SD-de4do
    @SD-de4do 5 років тому

    The center will hold as long as matt parker is protected at all costs.

  • @ThatPsdude
    @ThatPsdude 5 років тому +2

    I just bought your humble pi book, I can't wait for it to arrive ^_^

  • @gawayne1374
    @gawayne1374 5 років тому +9

    Damn! I knew I should have swaped out my abbacus for a calculator

    • @35571113
      @35571113 5 років тому +2

      Well, if you keep your rectangles even hight, on an abacus, they will also be divisible by 11...

  • @glubOOIOOOOI
    @glubOOIOOOOI 5 років тому

    parallelograms work on 3x3 calculators too! eg 1265/11=115 or 7425/11=675
    8624 works as well

  • @RaZeXzZz
    @RaZeXzZz 5 років тому

    a pretty simple trick with whole numbers that are multiplied by 11. lets say you have 29x11, split the 29 so you have 2 and 9, add these two and you get 11. now the 9 stays in the single digit area while now you add 20+11, this will give you 31. tack the 9 at the end and you get 319, now with most numbers you do this with you will just tack the first digit to the front, the last digit to the end, and the sum is in the center. example 34x11 is 374. So lets do this with 319. Split them, 3/1/9. 3+1 = 4, 1+9 = 10, 40+10 = 50. the answer is 3509. it is a pretty cool math trick that can save you time, takes a bit more time to go backwards though, best to just use a calculator. fun showing my college class mates this since most don't know about it

  • @Faxfaces
    @Faxfaces 5 років тому +3

    Hey Matt!

  • @daschu117
    @daschu117 3 роки тому

    This also works for longer, complex patterns as long as they retain a certain amount of symmetry. Like 7 5 9 5 3 5 1 5. You still get 11.
    Or 1 8 3 4 9 2 7 6.
    Or even 1 4 7 8 9 6 3 2.
    Very cool trick!

  • @Mihau_desu
    @Mihau_desu 5 років тому

    My answer: ( before watching what you came up with )
    I know n|11 if sum of all k's * 10^2m+1 = to the sum of all t's * 10^2m - a little formally
    When we make a square we move clockwise or anticlockwise - it's easy to see, that 1st + 3rd number has to be equal 2nd + 4th. Let's call them A, B, C, D in right order.
    If our assumption is right 10^3*A+10^2*B+10*C+D ( where we can swap pair AC with BD and make permutations inside those pairs ) is divisible by eleven.
    Then we pick some number p to begin with as our A. B = p + x ( x represents horizontal movement )
    D = p + y ( y represents vertical movement )
    C = p + x + y
    We check, that A+C indeed equals B + D ; = 2p + x + y
    Therefore it is proved whenever we make a square in our calculator, the number we create is divisible by eleven. Literally just because of how it was designed. For example:
    7 8 9
    6 5 4
    1 2 3
    Wouldn't work; but:
    1 4 7
    2 5 8
    3 6 9
    Would've been exactly same to the actual one, just rotated.
    I did not to really deep in this, but I hope effort I put finding the answer will pay off. :)

  • @NoisqueVoaProduction
    @NoisqueVoaProduction 3 роки тому

    If you look at the criteria of multiple of 11 it also becomes pretty easy
    Clockwise:
    First Digit: X
    Second digit: X + A
    Third Digit (or fifth): Y
    Forth Digit: Y - A
    Adding the odd position digits is X+Y. Adding the Even position digits is also X+Y. Therefore, it is a multiple of 11.
    Anti-Clockwise is the same idea:
    First Digit: X
    Second digit: X - A
    Third Digit (or fifth): Y
    Forth Digit: Y + A