I designed a silly but semi-functional computer.

Поділитися
Вставка
  • Опубліковано 26 лис 2023
  • Get your calculating christmas card! Support me on patreon: / standupmaths
    All Patreon supporters will be emailed a personalised card (deadline end of December, but sign up sooner for an earlier email) and "statistically significant" or higher get posted a physical signed card (deadline end of December but sign up by end of November to get it before christmas).
    Check out Mark Dominus's great blog. Link to follow-on post at end of this one.
    blog.plover.com/math/irish-lo...
    Here is the sign-up to volunteer for Pi By Hand 2024. forms.gle/CVocrwomCe1Q4iuX6
    Paper on other method to get Ludgates's values: treasures.scss.tcd.ie/miscell...
    All of the numbers I found are below. So many numbers. Presented three different ways, which is really unhelpful.
    Huge thanks to my Patreon supporters. They put the teeth on my cogs. / standupmaths
    CORRECTIONS
    - Yes, the invention of logs in 1614 is 410 years ago, not 400, as I said around 06:10. On the fly my brain confused it with the 1624 publishing of Arithmetica Logarithmica, the first great log table book. First noted by AlexSh789.
    - In the completed table around 11:54 I accidentally put in some products where are not the result of two one-digit numbers (60, 80 and 90), and thus are not needed. First pointed out by Frederico via email.
    - Let me know if you spot anything else!
    Filming and editing by Alex Genn-Bash
    Written and performed by Matt Parker
    Produced by Nicole Jacobus
    Cogputer build by Lisa Mather and Katie Steckles
    Tree build by Nina, Carrie and assisted by Laura.
    Extra material by Adam Atkinson
    Music by Howard Carter
    Design by Simon Wright and Adam Robinson
    MATT PARKER: Stand-up Mathematician
    Website: standupmaths.com/
    US book: www.penguinrandomhouse.com/bo...
    UK book: mathsgear.co.uk/collections/b...
    0-9 COGPUTER
    0 cog: 1 teeth
    1 cog: 42 teeth
    2 cog: 41 teeth
    3 cog: 27 teeth
    4 cog: 40 teeth
    5 cog: 8 teeth
    6 cog: 26 teeth
    7 cog: 18 teeth
    8 cog: 39 teeth
    9 cog: 12 teeth
    LABELS ON MIDDLE COG:
    CE, --, 00, --, --, --, --, --, --, 00, --, --, --, 00, --, --, 25, --, --, 00, 45, --, --, --, 81, --, 35, 00, 00, --, 63, --, --, --, 30, 15, 49, --, 54, 27, 00, 00, 00, 00, 42, 21, --, 40, 20, 10, 05, 72, 36, 18, 09, --, --, 56, 28, 14, 07, --, --, --, --, 48, 24, 12, 06, 03, --, --, --, --, --, --, --, --, 64, 32, 16, 08, 04, 02, 01
    1-9 CHRISTMAS TREE
    Present 1 is 7 units tall
    Present 2 is 5 units tall
    Present 3 is 18 units tall
    Present 4 is 3 units tall
    Present 5 is 21 units tall
    Present 6 is 16 units tall
    Present 7 is 28 units tall
    Present 8 is 1 units tall
    Present 9 is 29 units tall
    Bauble 1 is 14 units high
    Bauble 2 is 12 units high
    Bauble 3 is 25 units high
    Bauble 4 is 10 units high
    Bauble 5 is 28 units high
    Bauble 6 is 23 units high
    Bauble 7 is 35 units high
    Bauble 8 is 8 units high
    Bauble 9 is 36 units high
    Bauble 10 is 26 units high
    Bauble 12 is 21 units high
    Bauble 14 is 33 units high
    Bauble 15 is 39 units high
    Bauble 16 is 6 units high
    Bauble 18 is 34 units high
    Bauble 20 is 24 units high
    Bauble 21 is 46 units high
    Bauble 24 is 19 units high
    Bauble 25 is 42 units high
    Bauble 27 is 47 units high
    Bauble 28 is 31 units high
    Bauble 30 is 37 units high
    Bauble 32 is 4 units high
    Bauble 35 is 49 units high
    Bauble 36 is 32 units high
    Bauble 40 is 22 units high
    Bauble 42 is 44 units high
    Bauble 45 is 50 units high
    Bauble 48 is 17 units high
    Bauble 49 is 56 units high
    Bauble 54 is 45 units high
    Bauble 56 is 29 units high
    Bauble 63 is 57 units high
    Bauble 64 is 2 units high
    Bauble 72 is 30 units high
    Bauble 81 is 58 units high
    2-9 CHRISTMAS TREE CARD
    2: 3
    3: 12
    4: 2
    5: 17
    6: 11
    7: 24
    8: 1
    9: 20
    height: bauble number
    2: 64
    3: 32
    4: 16
    5: 8
    6: 4
    12: 48
    13: 24
    14: 12
    15: 6
    18: 40
    19: 20
    20: 10
    21: 72
    22: 36
    23: 18
    24: 9
    25: 56
    26: 28
    27: 14
    28: 30
    29: 15
    31: 54
    32: 27
    34: 25
    35: 42
    36: 21
    37: 45
    40: 81
    41: 35
    44: 63
    48: 49
    THE END
    PS forms.gle/UqZQRwYe26SLJjMn8
  • Розваги

КОМЕНТАРІ • 773

  • @unvergebeneid
    @unvergebeneid 6 місяців тому +2130

    For someone who doesn't like being associated with something almost working, Matt Parker produces a lot of almost-working things and shows them to the world.

    • @bowfuz
      @bowfuz 6 місяців тому +90

      Sharing stuff that worked only once during development is my Forte lmao

    • @loreleihillard5078
      @loreleihillard5078 6 місяців тому +91

      His motto is "give it a go"

    • @mikaderhacker2869
      @mikaderhacker2869 6 місяців тому +57

      Parkerputer

    • @idontwantahandlethough
      @idontwantahandlethough 6 місяців тому +18

      @@bowfuz wait, do you type Will Forte's name enough that your phone automatically capitalizes it...?

    • @bowfuz
      @bowfuz 6 місяців тому +27

      @@idontwantahandlethough no my phone just, legit has the dumbest autocorrect, it regularly turns "is" to "I'd" and also capitalizes even conjunctions among other things

  • @johnchessant3012
    @johnchessant3012 6 місяців тому +432

    Noah sent his animals to "go forth and multiply", but a pair of snakes told him "we can't multiply, we're adders" - so he builds them a log table.

  • @FrankGevaerts
    @FrankGevaerts 6 місяців тому +1232

    I didn't expect my belief in the commutativity of multiplication to be threatened by the thought of having to balance a box on a flamingo

    • @becauseimafan
      @becauseimafan 6 місяців тому +19

      😂

    • @ironnwizzard
      @ironnwizzard 6 місяців тому +110

      I'll take "Sentences First Said Today" for $500, Trebeck.

    • @EcceJack
      @EcceJack 6 місяців тому +10

      Thanks, that gave me a very good laugh 😂😂

    • @EliasMheart
      @EliasMheart 6 місяців тому +6

      Wow. Amazing, thank you xD

    • @ain92ru
      @ain92ru 6 місяців тому

      @@ironnwizzard r/BrandNewSentence is free ;-)

  • @nightchicken3517
    @nightchicken3517 6 місяців тому +823

    Don't worry. I double-checked the first calculation, and 9 * 5 is 45. (Fixed typo) and that one guy really did a proof on this \/

    • @hancocki
      @hancocki 6 місяців тому +29

      You're a hero for doing that. 😊

    • @CiaraOSullivan1990
      @CiaraOSullivan1990 6 місяців тому +46

      I don't believe either you or Matt and I request that you provide a detailed proof of your hypothesis.

    • @estherstreet4582
      @estherstreet4582 6 місяців тому +20

      Did you check it with a tree though

    • @ChucklesTheBeard
      @ChucklesTheBeard 6 місяців тому +63

      @@CiaraOSullivan1990 I have discovered a truly remarkable proof which this youtube comment is too small to contain.

    • @boo0o0o00o
      @boo0o0o00o 6 місяців тому +19

      the first calculation was 9*5 though, can you check that too please?

  • @mattb5816
    @mattb5816 6 місяців тому +407

    We're all worried about intelligent machines taking over, but here's Matt teaching trees how to do multiplication when they already outnumber us by trillions.

    • @weare2iq376
      @weare2iq376 6 місяців тому +16

      Hi, I'm from the year 2024, and unfortunately machines already outnumber all humans, and trees, except TREE(3)+...
      I'm sure this joke will have aged well by the end of next month. I thank you.

    • @vigilantcosmicpenguin8721
      @vigilantcosmicpenguin8721 6 місяців тому +3

      The Ents wouldn't have died off so soon if only they had arithmetic.

  • @wtspman
    @wtspman 6 місяців тому +322

    I’m surprised you missed the obvious branding for the tree: it’s a Yule Log™️

    • @antivanti
      @antivanti 6 місяців тому +10

      I came here to exclaim this! 😅

    • @pihungliu35
      @pihungliu35 6 місяців тому +15

      Well, he did say it is a "log table" at 21:27

    • @HellbladesFFXI
      @HellbladesFFXI 6 місяців тому +6

      I was so about to say, "Not just a log table, a Yule log table!" XD So glad I'm not the only one lol

    • @RichardBronosky
      @RichardBronosky 6 місяців тому +4

      Merry Multiplication-Mas
      (✖️-Mas) 😜

    • @iabervon
      @iabervon 6 місяців тому

      He has another computer in the fireplace, but we couldn't tell because it's a discreet log.

  • @maf654321
    @maf654321 6 місяців тому +456

    Now we gotta have a Python-running Christmas tree that can generate multiplication algorithms automatically with any given set of presents

    • @maf654321
      @maf654321 6 місяців тому +14

      Which makes me wonder, what are the constraints on size of the presents given the size of the tree? I imagine you’d want a variety of sized presents to distribute the baubles evenly…

    • @aceman0000099
      @aceman0000099 6 місяців тому

      ​​​​​@@maf654321the presents have to be a very specific size based on the size of your "unit" height. (In this case I think 8 is the shortest present so that one represents one unit).
      The unit height is constrained by the tree height (and bauble droopiness), such that the tree is a minimum of 58 units tall PLUS the droop of the top bauble (so the top bauble sits at 58 units but is attached a bit higher).
      So if your tree is 5 ft exactly (60"), and the droop is 2 inches, then your max unit height is 58 inches ÷ 58units = 1 inch.
      So your presents will be multiples of an inch up to 29 inches

    • @DFPercush
      @DFPercush 6 місяців тому

      @@maf654321 The height just has to match the numbers in the input table (whatever 2-9 corresponds to) times some arbitrary unit of length. If you can come up with another table that works, you can use those measurements.

    • @ivanborsuk1110
      @ivanborsuk1110 6 місяців тому +2

      what is the meaning of this? mommy?

    • @jamessylviasyracuse-little865
      @jamessylviasyracuse-little865 6 місяців тому +1

      Could that tree multiply 3 variables by using rotation in the plane as wall as height???

  • @dumntuftv8853
    @dumntuftv8853 6 місяців тому +363

    “This could be improved dramatically.” A quote for the ages. 18:34

    • @jasoncookuk
      @jasoncookuk 6 місяців тому +74

      it's a shame we won't have the sequel, "Somebody improved my cogputer by 40,832,277,770%"

    • @aceman0000099
      @aceman0000099 6 місяців тому +16

      He's begging for fans to send him better ones there

    • @nanamacapagal8342
      @nanamacapagal8342 6 місяців тому +6

      HERE WE GO

    • @mattgies
      @mattgies 6 місяців тому +11

      Likewise 21:49, "Do not eat my face!"

    • @nowymail
      @nowymail 6 місяців тому +2

      The first mechanical calculator was built in 1642 by Wilhelm Schickard.

  • @o0superflu0o
    @o0superflu0o 6 місяців тому +78

    For some reason, the reveal of the display of the cogputer had me nearly falling off my chair with laughter. It's so ridiculously tiny, absolutely perfect!

    • @crumble2000
      @crumble2000 6 місяців тому +1

      One might say it's comically small

    • @thedoublek4816
      @thedoublek4816 Місяць тому

      Comically large dials vs comically small display

  • @DasGanon
    @DasGanon 6 місяців тому +117

    Adding new meaning to "What tree has the best logs?"

    • @neilbarnes3557
      @neilbarnes3557 6 місяців тому +20

      The one with square roots, obviously.

  • @mscha
    @mscha 6 місяців тому +63

    What I'm worried about, is Matt's increasingly parallelogram-shaped bookcase.

    • @CaraesNaur
      @CaraesNaur 6 місяців тому +3

      He must be disappointed that it isn't becoming a rhombus.

    • @Zraknul
      @Zraknul 5 місяців тому +2

      If it's Ikea, it's a design choice to change shape slowly.

  • @kodirovsshik
    @kodirovsshik 6 місяців тому +54

    Alan Turing has been really quiet since the parker machine dropped

  • @GTwinn
    @GTwinn 6 місяців тому +345

    Matt: needs a computer to work out 9*5
    Also Matt: 2024 is the 400th anniversary of 1614
    Yes, this tracks

    • @theadamabrams
      @theadamabrams 6 місяців тому +60

      Wonderfully on-brand, yes :) According to his comment in other thread, Matt was thinking of the fact that _Arithmetica Logarithmica,_ the first great table for log₁₀, was published in 1624.

    • @bunnyrape
      @bunnyrape 6 місяців тому +26

      Parkerversary

    • @servvo
      @servvo 5 місяців тому +1

      it's the fact that he didn't realise this in the writing, recording, or editing stages 😂

  • @zaffyr
    @zaffyr 6 місяців тому +111

    making a log table using a tree is pure genius

    • @CaraesNaur
      @CaraesNaur 6 місяців тому +7

      Ahem, log tree.

    • @andrewsutherland7913
      @andrewsutherland7913 6 місяців тому +3

      @@CaraesNaur It is puns like that which make me wish I could subscribe to Patreon to NOT support Matt

  • @annie4424
    @annie4424 6 місяців тому +59

    As an elementary STEM teacher, I think I need to make one of these for my students to use. The fact that the answer window is so tiny is actually awesome for multiple students to use it for the same problem.

  • @lightninbolt986
    @lightninbolt986 6 місяців тому +265

    Mom can we have a computer?
    No, we have a computer at home
    Computer at home:

    • @yonaoisme
      @yonaoisme 6 місяців тому +10

      most original joke you've ever written. and holy moly, how specific this joke is, like there is no way to write this exact same joke about literally anything

    • @papeleradereciclaje4375
      @papeleradereciclaje4375 6 місяців тому

      Frankly, I would have loved to get something like this as a child

  • @DavidBeaumont
    @DavidBeaumont 6 місяців тому +65

    You could embed a small magnet in each input cog and on the background to hold it in its neutral position while other cogs are turned.

    • @becauseimafan
      @becauseimafan 6 місяців тому +6

      Oooh, use magnets, I like this idea a lot!! 😁

    • @dojelnotmyrealname4018
      @dojelnotmyrealname4018 6 місяців тому +6

      Alternatively, use a weak coil spring. Same idea just a lot cheaper and works on non-ferro materials (like plastic).

    • @Pystro
      @Pystro 5 місяців тому +2

      All it would really take is for the dials to be asymmetric, so that gravity keeps them in the disengaged position.

  • @AlRoderick
    @AlRoderick 6 місяців тому +21

    The way that 20th century mechanical computers did multiplication was really simple and clever. They used the formula for a line Y=MX. Inside the machine is a flat grid, you have a sliding input along the bottom for x that has a perpendicular track going straight up riding along and a rotating track that's centered around the origin, it has its slope set by a vertical sliding input at x = 1. Those two tracks constrain a pin that would always be at the intersection point of the two input tracks, and there'd be a third horizontal track that would be pushed up or down to read out the y value, and that's your answer. You had to know in advance what range of values you had to work with, but you could multiply any of the inputs or outputs by a constant using a gear ratio to force it into the right range.

    • @rerere284
      @rerere284 6 місяців тому +1

      ooh that sounds like the mechanical equivalent of a nomogram! neat

  • @zacharyoleksy1804
    @zacharyoleksy1804 6 місяців тому +33

    Finally, we have it. PC2

    • @lvn5609
      @lvn5609 6 місяців тому +11

      And PC stands for Parker Computer

  • @PJRye
    @PJRye 6 місяців тому +7

    The alternate table is what I was taught as the "times table" in primary school. What is relevant is that the first computer I ever used, the IBM1620 (early 1960's computer, used in 1968) employed decimal, not binary arithmetic, and did its multiplication using a times table - in 100 2-digit decimal memory locations 200 to 399, I recall.

  • @Apoque
    @Apoque 6 місяців тому +8

    The derivation of the math function he used seems very similar to a notion I've heard about in computer science called "Perfect Hashing" because really, what I'm seeing is that what he wants is very similar. Both are given a set (all pairs of base-10 digits) to find a function that spreads them into distinct buckets with no collisions.

  • @kentslocum
    @kentslocum 6 місяців тому +3

    The reveal of the cog-puter's microscopic display had me in stitches. 😂

  • @paddythomas7416
    @paddythomas7416 6 місяців тому +12

    I hate to be that guy but…. Babbage built part of his difference engine and it was used to calculate log tables and tide times, but never completed it, but it would be described as a mechanical calculator. His analytical engine was something he designed but never built and it was the first design of a programmable computer, inspired by Jaquard and his looms. The analytical engine would be more akin to what we call a computer today, whereas his difference engine (and your nifty machine) would be a calculator not a computer, and I personally prefer the term “cogulator” as opposed to “cogputer”

    • @EebstertheGreat
      @EebstertheGreat 6 місяців тому +1

      He completed two difference engines. Only one of them (the one the government actually wanted) was incomplete. Also, a "computer" is not necessarily a general-purpose computer. In fact, no such mechanical computer has _ever_ been built. Rather, the term "mechanical computer" refers to calculating devices like this (mostly adding machines).

  • @rewindoflow
    @rewindoflow 6 місяців тому +21

    Mechanical computing is such a fascinating area! I have a small collection of mechanical calculators, including a fully automatic four function one that I'm restoring. The amount of engineering effort and ingenuity that wen't into those things is amazing, but so it the sheer variety of methods of operation. For example, some machines do subtraction via a reverse of the addition mechanism, but some do it via 9's-complement which means they can add and subtract with the same mechanism! There's also a relevant example to this video which is the MADAS Millionaire, which uses a special kind of lookup table to do "single-operation" multiplication.
    That's not the mention the hook-and-crook slide adders, the ingenious ways of doing various operations on the comptometer (once the biggest educator in the UK), and even "Consul, the Educated Monkey"!
    And all that is just 'digital' calculators, not to mention all the analogue calculating mechanisms around (which made their way into all sorts of places, like WW2 bombing computers, and automatic gearboxes).

  • @medic2310
    @medic2310 6 місяців тому +48

    This video deserves reCOGnition...

    • @_Ari_B
      @_Ari_B 6 місяців тому +1

      reCOGNITION!

  • @otteydw
    @otteydw 6 місяців тому +11

    That Christmas tree card seems like something that could be used in an Exit "escape room in a box" puzzle!

  • @rosuav
    @rosuav 6 місяців тому +5

    8:17 It makes good sense for the multiplicative identity 1 to translate into the additive identity 0. Saves them duplicating entries.

  • @82melmar
    @82melmar 6 місяців тому +13

    You need to make a Hitchhiker's Guide edition of the xmas card where if you multiply 6 by 9 it reads 42.

  • @asicdathens
    @asicdathens 6 місяців тому +9

    I did multiplication with logic gates (2 8bit numbers) when I learned how full / half binary adders worked. I designed my own calculator (terribly inneficient) to do the 4 basic calculation

  • @AnselmWiercioch
    @AnselmWiercioch 6 місяців тому +173

    Is it just me or is Percy's method more work than just having a multiplication table with the answers on it and directly looking them up?

    • @DavidBeaumont
      @DavidBeaumont 6 місяців тому +167

      It is for a human, but not for a machine made of cogs and rods etc.

    • @savoytruffles
      @savoytruffles 6 місяців тому +9

      but that's no fun!

    • @3snoW_
      @3snoW_ 6 місяців тому +61

      I assume Percy would want to have several 1 digit multipliers and combine them to have a multiple digit multiplier. Which would also be why the entries for 0 would be important to include.

    • @aikumaDK
      @aikumaDK 6 місяців тому +23

      Maybe he wanted a working proof of concept before scaling it to the point where multiplication tables were unwieldy.

    • @cephelos1098
      @cephelos1098 6 місяців тому +19

      This is your brain when you learn math without learning anything about computation

  • @AlexSh789
    @AlexSh789 6 місяців тому +103

    6:13 - If logs came around in 1614, then wouldn't 2024 be the 410th anniversary, not the 400th?

    • @standupmaths
      @standupmaths  6 місяців тому +125

      Good point! My brain confused it with the 1624 publishing of Arithmetica Logarithmica, the first great log table book. I’ll add it to the corrections.

    • @ilogik999
      @ilogik999 6 місяців тому +35

      @@standupmathsi just assumed you thought it was 2014. 2024 doesn't sound real :)

    • @zygoloid
      @zygoloid 6 місяців тому +48

      It's a Parker Quatercentenary.

    • @jpaugh64
      @jpaugh64 6 місяців тому +4

      Wait, what about calendar corrections which happened in Europe right around that time.

    • @AlexSh789
      @AlexSh789 6 місяців тому +14

      @@jpaugh64 - The adoption of the Gregorian calendar yielded an adjustment of about 10~11 days in the 17th Century, not 10 years.

  • @amarissimus29
    @amarissimus29 6 місяців тому +3

    Oh man... this is why I love this channel. You've got a megaminx, a mirror cube and a fluctuation cube on your shelf. Just as I do, right behind me, among a billion others. Makes me feel a little less stupid as I try to keep up with your explanations. Thanks for all your work.
    Cripes my megaminx is dusty... can't have that.

  • @_Mute_
    @_Mute_ 6 місяців тому +7

    My first thought is the lookup table could be folded up into a n-dimensional array where n is the number of primes you include. A dimension for 2, 3, 5, 7, 11, etc.

    • @filipsperl
      @filipsperl 6 місяців тому +1

      That's pretty much it, but it's then compressed to 1D as compact as possible

  • @dino2808
    @dino2808 6 місяців тому +2

    yes! ive been looking for this everywhere for a year since i heard that "Z_(p-1) with addition is isomorphic to Z_p - {0} with multiplication" in my group theory class for some values of p. that made me think that there had to be a method to multiply integers through addition that could be efficient for computers? and i found (almost) exactly this and built some "paperputers" like yours. thank you for the video!

  • @Kazutoification
    @Kazutoification 6 місяців тому +7

    Move aside Parker Square, here comes the Parker Cog!

  • @RedHair651
    @RedHair651 6 місяців тому +4

    "Now THAT's a log table" needs to be a t-shirt

  • @jonidcrushfire
    @jonidcrushfire 6 місяців тому +4

    My goodness, the lengths you go to do math in the most entertaining and abnormal method possible is an inspiration to us all. Love the tree! Love the cogputer!

  • @champnessjack1154
    @champnessjack1154 6 місяців тому +3

    This method should be taught in schools everywhere, with the two tables provided on pieces of cloth that must be flattened out, repeatedly, to read, but with the option given that it's acceptable to memorize the results, should you find that, umm, a little bit faster.

  • @Reddles37
    @Reddles37 6 місяців тому +15

    For the tree you should have just made 1 a card with ~0 thickness, so you can multiply by 1 by adding the card to the stack without changing the height.

    • @schwingedeshaehers
      @schwingedeshaehers 6 місяців тому +10

      That doesn't work, as the hight isn't the number itself. (in his version)

  • @supertron6039
    @supertron6039 6 місяців тому +3

    Stuff like this makes me even more interested in computation algorithms.

  • @coastalsandwich
    @coastalsandwich 5 місяців тому

    Merry Christmas Matt, thanks hugely for your part in getting me back into Maths this year after shunning it in my youth! Ive had such fun messing about with my own silly equations and tricks, long may your channel continue!

  • @itssandman2u
    @itssandman2u 6 місяців тому

    No way! I love Mark's blog! I've been following him for a year or so now. Wild to see him featured in a video.

  • @buzz.b
    @buzz.b Місяць тому

    Matt's voice going ever more high pitched with excitement as the presents align with the correct results is fantastic.

  • @PhilR0gers
    @PhilR0gers 6 місяців тому +1

    I did multiplication at school using log tables, so it's all relatively familiar stuff.
    Matt's Christmas Tree is a variant of the slide rule, but with fixed cursors (baubles)

  • @HerbertLandei
    @HerbertLandei 6 місяців тому +4

    Why not using integer logarithms? As the biggest result is 9*9 = 81, we can work modulo the next prime, which is 83. 83 has 2 as a primitive root, so you just need to tabulate all values of 2^x mod 83. So, for 5*9 you find that 2^27 = 5, and 2^62 = 9, you add 27+62 = 7 (mod 83) and 2^7 = 45 -> your solution.

    • @jan_kulawa
      @jan_kulawa 6 місяців тому +1

      the idea is that Percy's method (and its adaptation by Matt) is supposed to compute products with a very rudimentary mechanical computer, so it has to exploit number theorerical properties of integers which can easily be encoded and manipulated by such a machine. modular exponentiation surely doesn't fit the bill, though indeed it is more simple and elegant in a purely mathematically setting

    • @justforplaylists
      @justforplaylists 6 місяців тому +1

      Would it work to use 79 instead of 83, and replace 9x with 78x mod 79? I think you could get the largest gear a bit smaller that way.

    • @sbares
      @sbares 6 місяців тому

      @@jan_kulawa The computer would still only be doing addition and table lookups, just like with Percy's method. You only need exponentiation to create the table.

  • @name_o_person
    @name_o_person 6 місяців тому +4

    I love this channel!
    Not only is the content informative, it's delivered with comedy, and the comments are always gold.
    P.S. i first came here to mention laughing hard enough over the Self on the shelf, that my coworkers checked in on me.

  • @JohnDlugosz
    @JohnDlugosz 6 місяців тому +1

    18:00 The way the cog has 15 teeth that engage reminds me of production mechanical calculators where entering a digit with a button would have a similar effect -- either as you enter it (like yours), as with the famous Curta, or setting up the mechanism so that when the crack it turned it issues a linear gear with the right number of teeth. The printer or readout often uses a similar mechanism, too.

  • @yobgodababua1862
    @yobgodababua1862 6 місяців тому +1

    One "easy" improvement to help with the alignment problem would be to have a second large cog uncoupled from the output cog with every subsidiary cog fully toothed to that gear so that they are always in sync.

  • @-_Nuke_-
    @-_Nuke_- 6 місяців тому +3

    That display though!

  • @Houshalter
    @Houshalter 6 місяців тому +27

    Before logarithms people did a similar trick to simplify multiplication to addition by using a lookup table for squaring numbers. Used since the Babylonians. a*b = ((a +b)^2 - a^2 - b^2)/2

    • @zygoloid
      @zygoloid 6 місяців тому +8

      When multiplying similar numbers (especially when they differ by an even number) I like to use ab = ((a+b)/2)² - ((a-b)/2)².
      Eg, 77 x 81 = 79² - 2² = (80² - 80 - 79) - 4 = 6237.

    • @flatfingertuning727
      @flatfingertuning727 6 місяців тому +2

      @@zygoloid Yeah, I found the cosine-squared approach a bit odd, when a table of (a/2)² works more simply..

  • @W.M.-
    @W.M.- 5 місяців тому

    This is brilliant, I love how much effort goes into his gags

  • @Mikumikku
    @Mikumikku 6 місяців тому +2

    not sure if anyone had the same thought, but at 12:00, the second grid perfectly overlaps the left grid if you rotate it 180 degrees. instead of only fitting the first row of the second grid into empty spaces, you could do it with all the rows

  • @Cats-TM
    @Cats-TM 6 місяців тому +11

    The difference engine! I have actually seen the actual build of it in real life at the Science Museum in London. It is decently large but it probably works quite well.

    • @AndyLundell
      @AndyLundell 6 місяців тому +6

      Although when we say Babbage designed a "Turing complete" computer, we mean his "Analytical engine", which was never built.

  • @mduvigneaud
    @mduvigneaud 6 місяців тому

    Fascinating! Matt, that is awesome!
    A while back I started writing a Reed-Solomon coding RAID driver... sadly I never finished it though: I got distracted with real work. In it addition and subtraction are just XOR but multiplication and division are 2 log table lookups, addition or subtraction of those respectively, then an inverse log table lookup.

  • @andrewmullen4003
    @andrewmullen4003 6 місяців тому

    this went straight over my head, think I'll have to watch it again.

  • @widgity
    @widgity 6 місяців тому +1

    This would go nicely with a rotary phone style dial!

  • @KelniusTV
    @KelniusTV 6 місяців тому +1

    I found a sudoku puzzle book in an op shop for cheap and I bought it, but something about it intrigued me, and surely it has some interesting mathematics.
    See, the book is organized into "easy", "medium" and "difficult" puzzles and they do tend to be harder as you go along. Newspapers also often have both an easy and hard sudoku puzzle, if they provide it.
    And I was wondering how the hell they do that. I thought it was just "the easy ones have more numbers", and whilst that is often the case with the easiest puzzles, it isn't always with the harder ones (in my book, anyway). Some of the "medium" puzzles have as few as 27 clue numbers, and the "difficult" puzzles have as many as 32. So, how the hell do they make them "harder"?
    I'm sure the maths of sudoku must be well understood, if we can make them so easily, but I couldn't find it online.

  • @agargamer6759
    @agargamer6759 6 місяців тому +1

    The Christmas tree is worth it for the log table joke

  • @kekke2000
    @kekke2000 6 місяців тому +3

    Are you going to cover the Kramnik vs Hikaru Chess cheating accusations? It has a lot of stats and probabilities with elo involved.

  • @AdminBenni
    @AdminBenni 6 місяців тому +2

    I'm tempted to call this the Parker 'Puter but I think I'll have to settle for the Parker Cogputer, since with his now advanced levels "terrible python code", Matt's bound to create his own computer one of these days, operating system and all!

  • @GlennBrockett
    @GlennBrockett 6 місяців тому +1

    A Yule Log table to be more appropriate.

  • @mr_rede_de_stone916
    @mr_rede_de_stone916 6 місяців тому +1

    The christmas tree idea was sooooo good!!

  • @timblack7828
    @timblack7828 6 місяців тому +1

    Matt, you were so close to getting each number to appear at its own index (like you discuss at 15:10)! You could replace each value x in your first lookup table with 42 - x. That way 1 would map to 0. You would also replace each index z in the second lookup table with 84 - z. This works because x + y = z if and only if (42 - x) + (42 - y) = 84 - z. As a bonus, your second lookup table would only have to go up to 82 instead of 84. And, your outer wheels would only need a total of 166 instead of your current 254 (though Percy still wins in this regard; their design would only need 141 total teeth on the outer wheels).
    With this change:
    0-9 COGPUTER
    0 cog: 41 teeth
    1 cog: 0 teeth
    2 cog: 1 teeth
    3 cog: 15 teeth
    4 cog: 2 teeth
    5 cog: 34 teeth
    6 cog: 16 teeth
    7 cog: 24 teeth
    8 cog: 3 teeth
    9 cog: 30 teeth
    LABELS ON MIDDLE COG:
    CE=01, 02, 04, 08, 16, 32, 64, --, --, --, --, --, --, --, --, 03, 06, 12, 24, 48, --, --, --, --, 07, 14, 28, 56, --, --, 09, 18, 36, 72, 05, 10, 20, 40, --, 21, 42, 00, 00, 00, 00, 27, 54, --, 49, 15, 30, --, --, --, 63, --, 00, 00, 35, --, 81, --, --, --, 45, 00, --, --, 25, --, --, 00, --, --, --, 00, --, --, --, --, --, --, 00
    (This scheme has CE and 1 in the same place, which you may have understandably chosen to avoid, but it also seems appropriate to have the multiplicative identity also be the "clear" value)

  • @macronencer
    @macronencer 6 місяців тому

    When you mentioned the Christmas card on the podcast, I assumed it was the standard type of logarithm. Pleasantly surprised and entertained to discover there was a little more to it!

  • @zecuse
    @zecuse 6 місяців тому

    An extremely elaborate way to show that addition is commutative and infer that multiplication is too.

  • @UnrivaledLimit0500
    @UnrivaledLimit0500 6 місяців тому

    This is great content. Well done.

  • @dylanbreglio
    @dylanbreglio 6 місяців тому +1

    I love how proud Matt is of his cogputer

  • @manudude02
    @manudude02 6 місяців тому +1

    So many lookup tables just to avoid a couple of additions! I prefer the name Cogulator to describe the device.

  • @jan_kulawa
    @jan_kulawa 6 місяців тому +1

    tricking a tree into doing multiplication defines a whole new paradigm of computing. we should have Parker machines instead of Turing machines in our theoretical computer science curriculum

  • @mileskidson1970
    @mileskidson1970 6 місяців тому

    All that for the most incredible log pun. God i love this channel

  • @PopeLando
    @PopeLando 6 місяців тому +5

    I'm just watching this and with the first problem I was literally saying "36" and looking to see if the 3 wheel or the 6 wheel were turning. Then he shows "45" and I 🤦‍♂️

  • @eekee6034
    @eekee6034 6 місяців тому

    As the table was filled out, my mind was blown!

  • @Verlisify
    @Verlisify 6 місяців тому

    I can't wait for the pi day that is calculating pi through pi day attempts

  • @drdieding
    @drdieding 6 місяців тому

    Well, that was unexpected. Love these videos!

  • @petevenuti7355
    @petevenuti7355 6 місяців тому

    The professions of comedian and mathematician are inherently mutually exclusive, with one notable exception, Matt Parker.

  • @lull_the_un
    @lull_the_un 6 місяців тому

    that tree really sold it, amazing

  • @SoulOfNemiss
    @SoulOfNemiss 6 місяців тому +2

    17:47 I think you said toward the end that the 9 cog has 15 dents but it's 12 as stated in the description :D
    Great stuff nonetheless had a lot of fun trying to recreate your table to put back the triangle of number together (01 02 04 up to 81) ( 05 10 20 up to 45) (07 14 up to 63) (even the 00 works) and seee those flying 25 35 and 49 (and three 00) and I wonder if you could try to minimise the space of those geometric shapes (while fitting the flying unit around) to find other minimal triangles

  • @LyuboRyuk
    @LyuboRyuk 6 місяців тому

    The amazing amount of work 😮

  • @Poutrel
    @Poutrel 6 місяців тому

    I applaud the dedication and amount of effort just for the pun at 21:30

  • @Marconius6
    @Marconius6 6 місяців тому +1

    Every day, Matt is closer to becoming an Adeptus Mechanicus tech-priest... look, he's using cogitators now!

  • @valdemar91
    @valdemar91 6 місяців тому +1

    Mat: "... this tree can do multiplication. Now THAT is a Log table!"
    Me screaming out loud (completely alone!): "ITS A YULE LOG!"

  • @oyahfftlisawsome
    @oyahfftlisawsome 6 місяців тому +1

    "This could be improved dramatically" the title of everything Matt attempts (but he attempts while most would not)

  • @MegaTeXHaPb
    @MegaTeXHaPb 6 місяців тому

    Great video! Thank you! I have an idea how to improve your cogputer, stabilize cogs and prevent them from sudden rotations. You can add some metal pieces close to lover point of cogs, so they will become unbalanced and will try to turn this side down. It will become like a toy named Weeble (don't know correct English name for Russian "Неваляшка", but this seems to be closest). Or you can even use small thin magnets to stick cogs in their positions.

  • @erikkarlsson6839
    @erikkarlsson6839 6 місяців тому +5

    The computer your teammates play on

  • @JonFawkes
    @JonFawkes 6 місяців тому

    I feel like the cog-puter would be great in a steampunk/gearpunk setting
    Aslo, that christmas card is so wonderfully nerdy

  • @philipmurphy2
    @philipmurphy2 6 місяців тому

    Stand Up Maths is such a useful channel

  • @AliceYobby
    @AliceYobby 6 місяців тому +2

    It would be incredible if you could make a video on the statistical claims of past chess grandmaster Kramnik accusing current chess grandmaster and second best player in the world Hikaru Nakamura of cheating, like you did in the Dream probability stuff. Many people have made blog posts about Kramnik’s poor methods but there’s a lot of confusion everywhere and a nice, simple explanation of the statistics involved would be incredible!!!

  • @aniksardar7366
    @aniksardar7366 6 місяців тому

    The multiplicating
    christmas tree is amazing

  • @kainan613
    @kainan613 6 місяців тому +1

    Oh wow! A Parker PC!

  • @uIteriormotives
    @uIteriormotives 6 місяців тому

    YAAAAY NEW MATT VIDEO!! i need this after the shitty day i had

  • @CyanPhoenix_
    @CyanPhoenix_ 6 місяців тому

    to fix the issue of the erroneous cog engaging, you could set it up so that the segment of each cog with teeth is pointed directly away from the center cog when the number on the front is at the 12 o'clock position - that way you can easily just keep all the numbers right way up and just do one full rotation every time you use a number.

  • @JDB2552
    @JDB2552 6 місяців тому +5

    Matt, if you title your next book Terrible Python Code, you’ve probably already written it.

  • @notmyname327
    @notmyname327 6 місяців тому +4

    That computing tree is amazing! Loved this video

  • @purple_sky
    @purple_sky 5 місяців тому

    The Christmas tree made me crack up like a Christmas cracker

  • @kentslocum
    @kentslocum 6 місяців тому +1

    Who needs calculators, when we have Christmas trees?

  • @GilesBathgate
    @GilesBathgate 6 місяців тому

    I was studying the attention mechanisim in machine learning and was struggling to find the equivalence between Additive Attention, and Dot Product attention. Your simple formula which reminds us that: A*B = f(g(A) + g(B)) finally led to the aha! moment, Thanks.

  • @Nellipusen
    @Nellipusen 6 місяців тому

    The size of the display is sending me!

  • @Theexplorographer
    @Theexplorographer 6 місяців тому

    Mechanical computer complete with 2 and 4 bit bugs. Love it!

  • @krispockell685
    @krispockell685 6 місяців тому

    I need to buy two of those cards

  • @ayuminor
    @ayuminor 6 місяців тому

    Long division? OH BOY, my FAVORITE!