The Secret Music of Pascal's Triangle

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 50

  • @blacklistnr1
    @blacklistnr1 Год назад +45

    There's a video on RUclips, unfortunately I forgot the name(I think it's a SoME 2/3 submission), where they explore similar patterns(I think the bounding shape was a triangle too) with different numbers.
    They notice that there is a feature set of designs, generally linked to prime numbers and composite numbers usually exhibit the features of their factors. Some of them were quite interesting to watch.
    They go really far, until a smooth gradient of values.

    • @onepersonintheuniverse
      @onepersonintheuniverse Год назад +8

      It’s from Kuvina Saydaki, and it’s “how I made my own fractal”. These were the bi versions.

    • @TaranVaranYT
      @TaranVaranYT 9 месяцев назад

      @@onepersonintheuniverse called it

  • @kepka55
    @kepka55 9 месяцев назад +2

    Pascal's triangle with mod 2 is the same as rule 90 in an elementary cellular automaton

  • @crazytiger6
    @crazytiger6 Год назад +7

    I’d never noticed these similarities between Pascal’s and Seprinski’s Triangles, this is actually really cool!

  • @tyler209459023523
    @tyler209459023523 Год назад +20

    I'm really intrigued by that piece at the end!!! ...Oh also, I think that super-position you observe around 4:50 can be understood as a consequence of a result called the "Chinese remainder theorem."

  • @adrienanderson7439
    @adrienanderson7439 Год назад +20

    I have been looking into the superposition as you call it. It turns out there is an isomorphism between mod 6 numbers and pairs of numbers mod 2 and mod 3. You can add these pairs together by adding each coordinate individually, for instance (a,b)+(c,d)=(a+c,b+d). This seems to be what creates the sort of overlapping pattern because each combination of mod 2 and mod 3 numbers creates a unique mod 6 number. More generally there is an isomorphism between any composite number a tuple of each prime power in its prime factorization. I will comment a bunch of examples next.

    • @adrienanderson7439
      @adrienanderson7439 Год назад

      The following example works because 12=2^2 * 3. (Splitting this into a tuple with two mod 2 can create an isomorphism but would need some more careful assignment that i don't fully understand, im not sure if addition could work the same too).
      (mod 3, mod 4) ~ mod 12
      (0,0) ~ 0
      (1,1) ~ 1
      (2,2) ~ 2
      (0,3) ~ 3
      (1,0) ~ 4
      (2,1) ~ 5
      (0,2) ~ 6
      (1,3) ~ 7
      (2,0) ~ 8
      (0,1) ~ 9
      (1,2) ~ 10
      (2,3) ~ 11
      addition working pairwise is relevant to the triangle because with 1 ~ (1,1) each entry of the pair is its own lower mod triangle number

    • @adrienanderson7439
      @adrienanderson7439 Год назад

      Here is another example where we uniquely match each mod 30 number with each triplet of mod 2, mod 3, and mod 5 numbers.
      (mod 2, mod 3, mod 5) ~ mod 30
      (0,0,0) ~ 0
      (1,1,1) ~ 1
      (0,2,2) ~ 2
      (1,0,3) ~ 3
      (0,1,4) ~ 4
      (1,2,0) ~ 5
      (0,0,1) ~ 6
      (1,1,2) ~ 7
      (0,2,3) ~ 8
      (1,0,4) ~ 9
      (0,1,0) ~ 10
      (1,2,1) ~ 11
      (0,0,2) ~ 12
      (1,1,3) ~ 13
      (0,2,4) ~ 14
      (1,0,0) ~ 15
      (0,1,1) ~ 16
      (1,2,2) ~ 17
      (0,0,3) ~ 18
      (1,1,4) ~ 19
      (0,2,0) ~ 20
      (1,0,1) ~ 21
      (0,1,2) ~ 22
      (1,2,3) ~ 23
      (0,0,4) ~ 24
      (1,1,0) ~ 25
      (0,2,1) ~ 26
      (1,0,2) ~ 27
      (0,1,3) ~ 28
      (1,2,4) ~ 29

    • @adrienanderson7439
      @adrienanderson7439 Год назад +1

      The following is some of the mod 6 triangle but with (mod 2, mod 3) numbers instead.
      (1,1)~1, the rest follows from pairwise addition
      (1,1)
      (1,1)_(1,1)
      (1,1)_(0,2)_(1,1)
      (1,1)_(1,0)_(1,0)_(1,1)
      (1,1)_(0,1)_(0,0)_(0,1)_(1,1)
      (1,1)_(1,2)_(0,1)_(0,1)_(1,2)_(1,1)
      If you reference how the pairings are connected to mod 6 numbers you will see it is the same as the mod 6 triangle. Not only that but if you look at the first entries only you can see how naturally the mod 2 triangle is embedded, along with the second entries showing the mod 3 triangle. So each triangle directly contributes to the structure of the mod 6 triangle.

    • @adrienanderson7439
      @adrienanderson7439 Год назад

      If anyone has more information about this that they would like to share, please do. Im interested in knowing more about the cases with prime factorization that have primes that are exponentiated.

    • @PMA_ReginaldBoscoG
      @PMA_ReginaldBoscoG Год назад +1

      ​@@adrienanderson7439I think you have to use the Chinese remainder theorem.🤔

  • @musicstewart9744
    @musicstewart9744 Год назад +31

    Sounds like something Emerson, Lake & Palmer could have turned into a good number. Likewise, Mussorgsky before them.

    • @Flatscores
      @Flatscores Год назад +3

      Sounded more like Ozric Tentacles to me, just needs the synths and guitar solo on top of it.

    • @musicstewart9744
      @musicstewart9744 Год назад +1

      @@Flatscores This sent this 62 year old off to hear what they sound like. They are definitely in the progressive rock tradition.

    • @zZWolfyZz
      @zZWolfyZz Год назад

      I can't remember the exact song (maybe bitches crystal) but my first thought when I heard the was elp
      Editing cause I think it was from the begining I'm thinking of

  • @mumiemonstret
    @mumiemonstret Год назад +16

    The drums really add to the music and make the polyrhythmic graspable. Did you add them manually after feeling the vibe of each line, or are they algorithmic too?

    • @marcevanstein
      @marcevanstein  Год назад +10

      Also algorithmic! Each number has a particular percussion sound associated with it, and when there's a block of two or more of a number in a row we hear it. I also added a little fill for the beginning of each new line.

  • @trulyunknowable
    @trulyunknowable Год назад +7

    I saw one forum where someone labeled the Sierpinski just as SG (Sierpinski Gasket) 3, but that's boring. I propose we should just label these different levels of Sierpinski type fractals with the corresponding modulo. A regular triangle will be a unary Sierpinski, Sierpinski's triangle is a binary Sierpinski, and so on.

  • @The0Stroy
    @The0Stroy Год назад +1

    1:03 - what is also XOR gate.
    I wonder what patterns would other gates made?

    • @angeldude101
      @angeldude101 Год назад +1

      AND it's multiplication modulo 2, though I don't think OR maps as cleanly to modular arithmetic as AND and XOR. That said, a OR b is the same as ~(~a AND ~b) by De Morgan's laws, and ~a can be treated as a + 1 ≡ a - 1, so we'd have a OR b = (a - 1)(b - 1) - 1 = ab - a - b + 1 - 1 = ab - (a + b) = (a AND b) XOR (a XOR b).
      Then again, rolling things back reveals that the results really wouldn't be very interesting, as they'd either annihilate instantly or form a solid triangle of 1s. For things like NAND and NOR, it'd basically be the same, but inverted every row.

    • @The0Stroy
      @The0Stroy Год назад

      @@angeldude101 What about asymmetric logic operation like implication?

    • @angeldude101
      @angeldude101 Год назад

      @@The0Stroy That has the potential for more interesting patterns, due to the asymmetry, but it's still fundamentally built from a single AND or OR with specific inputs or outputs inverted. Plus the asymmetry itself could make it look less appealing even if it wasn't as boring as AND or OR.

  • @TheBasikShow
    @TheBasikShow Год назад +5

    Hello! This video was super cool, and there’s quite a bit of cool math that’s going on behind the scenes here. I’m gonna answer some of the questions from the video, rapid-fire, in this comment. Please feel free to ask for clarification!
    First, as you indeed noticed, the nth row of the staircase modulo n is all zeros (except for the ones on the boundaries) exactly when n is a prime number. The fifth row is all multiples of fives, the seventh row is all multiples of seven, the eleventh row is all multiples of eleven, and so on. (Clarification: the uppermost row, which has only a single one in it, is called the “0th” row.)
    The usual way to prove this is by using the explicit formula for the terms in the staircase, which involves factorials, but there’s also a neat combinatorial proof I found. I can explain either if someone asks.
    As for your observation that sometimes the pattens seem to be overlaid on each other, you’ve actually run into a very deep fact from abstract algebra! The Chinese Remainder Theorem states that if n and m share no factors in common, then you can tell what a number is modulo nm from what it is modulo n and modulo m, and vice versa.
    To remove a bit of the jargon, we can go into an example: 3 and 4 share no factors, so if a number is (for example) 1 mod 3 and 3 mod 4, then it must be 7 mod 12. There are no other options. You can try this yourself: pick a number from 0 to 2 and another from 0 to 3. There should be exactly one number between 0 and 11 which is equal to the first mod 3 and the second mod 4.
    This is very powerful because, for example, it means that you can understand what the pattern is mod 60 just by looking at the patterns mod 3, 4, and 5 (these are the “prime power” factors of 60) and overlaying them.
    One last point. You asked for the names of the shapes that were made by reducing modulo numbers other than two. While I’ve never seen them explicitly named, I’ve taken to calling them the “binary triangle” and “trinary triangle” and so on, naming the triangle mod n after the term for base-n numerals. (The mod-10 one, for example, would be the decimal triangle.)
    This is because of another interesting way they show up: take the coordinate plane and color in every point (x,y) for which when you add x to y written in base-n, you don’t need to do any carrying. The resulting figure will look like the base-n triangle.

    • @TheBasikShow
      @TheBasikShow Год назад +1

      Oh, I just realized you’re also the person who made the Fibonacci music box video! You have a knack for these mathematical music videos, I must say. Keep it up!

  • @oncedidactic
    @oncedidactic Год назад +1

    I'm slightly colorblind too and the colors were great! Keep it up

  • @omniscientomnipresent5500
    @omniscientomnipresent5500 Год назад +1

    Is there a sheet of the piece at the end? I don't understand it with just the visuals.

  • @lucassiccardi8764
    @lucassiccardi8764 Год назад +4

    I think you should look into the Langlands program. The relationship between patterns created by modulo primes and their combinations is related to L-functions and Euler products.

    • @oncedidactic
      @oncedidactic Год назад +1

      Numberphile's latest video on that (with Frenkel) does a great job exposing how power series (ring a bell with pascal's triangle? related to polynomial expansions) relate to modular arithmetic, p-adics, and the relatively more grounded geometric interpretations of low rank equations. Sounds scary maybe but worth a watch!

    • @lucassiccardi8764
      @lucassiccardi8764 Год назад +1

      @@oncedidactic There's a YT channel entirely dedicated to the subject: it's called "PeakMath".

    • @oncedidactic
      @oncedidactic Год назад

      @@lucassiccardi8764 Thanks I'll check it out! Trying to learn more about this stuff efficiently from a non-professional starting point ;D

  • @KurtVanBever
    @KurtVanBever Год назад +4

    The patterns remind me of Wolframs cellular automatons

    • @marcevanstein
      @marcevanstein  Год назад +4

      Yes, me too. I keep thinking about that comparison, especially with the composite numbers. The fact that the rows aren't all aligned make it a bit different, but maybe there's some broad definition of a cellular automaton that it fits under.

    • @Errenium
      @Errenium Год назад

      ​@@marcevansteinyou could align the rows so that it fits

    • @NightmareCourtPictures
      @NightmareCourtPictures Год назад +2

      ​@@marcevanstein You got to watch the New Kind of Science series Wolfram made (if you haven't already). It will change the way you think about this (Pascals Triangle)...but also practically everything.
      It's a 16 part series, each part about 2-3 hours long, so it will take 32 - 48 hours to go through it all...but trust me, its the most valuable research you will ever need.
      Cheers

  • @Casperious32
    @Casperious32 Год назад

    I’m a little shocked this was recommended to me but I’m really happy it was, very cool video!

  • @lilac_hem
    @lilac_hem Год назад

    this is so nifty ooooh
    i am v happy i found your channel :3

  • @SmokeBurp
    @SmokeBurp 6 месяцев назад

    How many modules are there

  • @entaeryata
    @entaeryata Год назад +1

    That fractal is MY triangle and y’all can’t have it >:(

  • @DomeArmin
    @DomeArmin 9 месяцев назад

    1:17 -- Look! =D A Sierpiński triangle!

  • @likelipe
    @likelipe Год назад

    3:07 oh look, a prog song

  • @miawmiawgary2024
    @miawmiawgary2024 Год назад

    not me thinking this was the ball bouncing erasing squares.

  • @maimaiuwu9963
    @maimaiuwu9963 9 месяцев назад +1

    The worst part about these songs is they never drop
    They're just constantly pretending they're gonna drop and not doing it

  • @plopgoot5458
    @plopgoot5458 5 месяцев назад

    It a very interresting video, unfortunately it is completely obscrured if watxh on a phone, the numberes are too small and the colors too dim.

  • @ahaququq
    @ahaququq Год назад

    sierpiński's triangle!

  • @Gumimi06
    @Gumimi06 5 месяцев назад

    It sounds like pillar man theme

  • @DogesArePros
    @DogesArePros Год назад

    SIERPINSKI TRIANGLE