Тёмный

Sounds of the Collatz Conjecture: Generating Music from the 3x + 1 Problem 

AlgoMotion
Подписаться 41 тыс.
Просмотров 264 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 294   
@LuckyLootCrate
@LuckyLootCrate 5 месяцев назад
I love that 8421 ‘motif’ for all the strategy 1s, it sounds kinda like the game over theme for all the failed attempts to disprove the Collatz Conjecture
@slyar
@slyar 5 месяцев назад
I'd say it's more of a 16 8 4 2 1 motif
@johnrichardson7629
@johnrichardson7629 5 месяцев назад
And most mathematicians suspect it is true and have failed to PROVE it.
@ropi314
@ropi314 4 месяца назад
@@slyar i'd say its more of a powers of two motif
@CalebSu-pv1bj
@CalebSu-pv1bj 4 месяца назад
i like the way you think!
@MoolsDogTwoOfficial
@MoolsDogTwoOfficial 4 месяца назад
Going down the Phrygian scale.
@HollywoodF1
@HollywoodF1 5 месяцев назад
I can see why proving this is so enticing for mathematicians- the patterns start to jump out, which is red meat to a mathematician.
@moadot720
@moadot720 4 месяца назад
I love how this comment reminds me of Vi Hart (Who joined The Awesomeness Team, a team that I lead!)!
@RailsofForney
@RailsofForney 4 месяца назад
So True, both of y’all.
@Jiffy_Park
@Jiffy_Park День назад
you know a lot of maths people are vegetarians
@caesq_r
@caesq_r 5 месяцев назад
everybody gangsta until a node hits 16
@pythonfan3447
@pythonfan3447 3 месяца назад
😂
@No1rated_salesman1997
@No1rated_salesman1997 3 месяца назад
in reality, any number that could be represented as 2^n
@GabAguy
@GabAguy 2 месяца назад
@@No1rated_salesman1997 1 2 4 8 16 32 64 And 2^n Will be very short And also 5 is gangsta too On the end almost every number has 5 and after 5 16 8 4 2 1
@KaileeMix
@KaileeMix Месяц назад
or when it hits 5
@xdkristof
@xdkristof 5 месяцев назад
moving up and down the circle of fifths sounds pretty neat
@brunomcleod
@brunomcleod 5 месяцев назад
4:55 GameCube intro??
@shoppingcart69420
@shoppingcart69420 2 месяца назад
No
@GreatComposer1
@GreatComposer1 2 месяца назад
thought the same xd
@introducingthenewfriendger9211
@introducingthenewfriendger9211 5 месяцев назад
When I was in college I made a little box where you hit a button a certain number of times and it would play a MIDI sequence based on the hailstone sequence generated from the total number of button presses, then challenged my classmates to make the longest sequence they could as my midterm project. They hated it
@MabInstruments
@MabInstruments 5 месяцев назад
I'm interested in what it sounds like if you just use the number as a frequency with the units chosen so that 1 is the lowest pitch that can be heard (usually about 20Hz). This makes halving the number musically meaningful because you go down exactly one octave. Multiplying by 3 and adding 1 is slightly more complicated. Multiplying by three is going up an octave plus a perfect fifth. Adding one makes it more than that, exactly how much depending on how high the number was. For example, 3→10 is going up an octave plus a major sixth. 5→16 is going up an octave plus a minor sixth. This system would allow numbers up to about 1,000 for someone with good hearing.
@barbiermusic
@barbiermusic 5 месяцев назад
It would be funny to see how that +1 slowly starts pushing you out of the original tuning
@maxthexpfarmer3957
@maxthexpfarmer3957 5 месяцев назад
good idea
@Anonymous-df8it
@Anonymous-df8it 5 месяцев назад
That was what I was thinking too! What's also interesting is how every key has different properties (e.g. some have better perfect fifths, others have better perfect fourths etc. depending on their prime factorization). Another interesting thing would be to go the other way (i.e. linearly increasing period; the first one would be ~50 microseconds), which also has the same variety in keys, whilst also having a simple physical interpretation- linearly increasing lengths of the vibrating object (e.g., multiples of Tv/4 and Tv/2 for closed and open pipes respectively)
@myfunnyval1
@myfunnyval1 3 месяца назад
The sonification of such sequences has always been of interest to me. As someone with no sight, it is often possible to identify patterns using sonification. Your channel is great, and has encouraged me to find apython library which will enable me to sonify such patterns. Many thanks.
@MitchelWild
@MitchelWild 3 месяца назад
Thank you, algorithms. New favorite channel right here.
@Antikas1989
@Antikas1989 5 месяцев назад
Nice. It would be cool to try something like mod 144. Limits the range but uses more of the keyboard than just the pitch class.
@arthurd4012
@arthurd4012 10 дней назад
Truly fascinating! Engaging the visual & auditory systems to contemplate mathematics!
@Hectordaboom
@Hectordaboom 5 месяцев назад
6:46 “A nice feature of this strategy is that it confines the note to a finite range, so we can arbitrarily long sequences” The sequence: To infinity, and beyond!
@davidzaydullin
@davidzaydullin 5 месяцев назад
another idea i came up with: using microtonal scale with logarythmic frequencies. difference between big numbers in your examples are much bigger than between small ones, so log scale can help with it. we already percieve freqeuncies logarithmically, so this scale will basically be smth like "next note is 10hz higher than the previous one" instead of 12EDO "next note is twelfth root of two times higher than the previous one"
@martinepstein9826
@martinepstein9826 5 месяцев назад
I think the main reason it sounds more musical than a random sequence of notes is that every time it goes up it must go down on the next step, since if n is odd then 3n+1 is even. I'm guessing if you removed that regularity and used f(n) = n/2 if n is even, (3n+1)/2 if n is odd it would just sound random.
@Den_drummer
@Den_drummer 5 месяцев назад
I once did an experiment where I used the Collatz conjecture to determine the length of a section in 8th notes. It came out rather decent, rendered an accompanying animation with blender and sent that in for my composing class "exam" in music school a couple of years ago. Edit: had to look it up to be sure but... I started from 25, which gave a nice balance of number of numbers and not going absurdly high
@devfromthefuture506
@devfromthefuture506 5 месяцев назад
Amazing video. I really really like your channel content! Keep it up.A few days ago I asked chatgpt about possible analogs of circle of fifths in 3 dimensions, 4 dimensions or higher. And I got interesting resultings every time I asked. It would be amazing if you do an video about it. I will paste some interesting results here: Sure, here are a few potential higher-dimensional analogs of the circle of fifths: 1. **Sphere of Harmonic Relationships:** Imagine a three-dimensional sphere where each point represents a musical key, and the distance between points indicates the harmonic relationship between those keys. This model could incorporate not only fifths but also other intervals and harmonic concepts. 2. **Hypergraph of Musical Elements:** Visualize a hypergraph where each node represents a musical element (such as keys, chords, modes, etc.), and hyperedges represent relationships between multiple elements. This could capture complex relationships beyond just linear progressions. 3. **Tensor Representation:** Utilize a tensor framework where each dimension represents a different musical element (e.g., keys, chords, time signatures), allowing for a multidimensional representation of musical relationships. 4. **Topological Map:** Create a topological map where musical elements are represented as points on a surface, and the topology of the surface captures relationships between elements. This could provide a geometrically intuitive way to explore complex musical structures. Ok other results from chatgpt with slightly different question about hyperdimensional circle of fifths: : 1. **Multi-dimensional Pitch Space**: Some music theorists and composers have conceptualized pitch relationships in multi-dimensional spaces beyond the traditional linear or circular representations. These spaces can include dimensions for pitch height, duration, timbre, and other musical parameters. 2. **Spectral Analysis**: In the field of spectral music, composers like Gérard Grisey and Tristan Murail have explored the use of multi-dimensional pitch spaces based on the analysis of sound spectra. These spaces represent complex relationships between harmonic partials and timbral characteristics. 3. **Mathematical Models**: Mathematically inclined composers and theorists have investigated higher-dimensional spaces using concepts from topology, group theory, and other mathematical frameworks. These models aim to represent the intricate relationships between musical elements in more abstract and complex ways. 4. **Interactive Visualization Tools**: With advancements in digital technology, there have been efforts to develop interactive visualization tools for exploring hypertonal analogs and multi-dimensional pitch spaces. These tools often allow users to navigate through complex musical structures and relationships in real-time.
@mistrzdrewna233
@mistrzdrewna233 5 месяцев назад
0:01 sounds like a music from portal 2
@just-ask-why
@just-ask-why Месяц назад
Aliens: "Oh I love this song! It's Collatz Conjecture 11" 👽
@andreamarino95
@andreamarino95 5 месяцев назад
Wonderful. I am a mathemusician myself and I'd like to propose the following "bebop" strategy. Fix a note (e.g Bb) and an associated "Bebop scale": this is like the usual major scale, except there is an extra step (Ab) between G and A. This makes the scale of 8 notes and is useful in improvising to stay on the same chord when playing the scale linearly (try to go downward from Bb). When collatz go up, you would go two steps up on the scale, neglecting the extra step (this will result in upward arpeggios on II/V or I/IV/VI). When collatz go down, you would go one step down on the scale using the extra step, playing a downward scale. Then swing a bit the notes (even notes last 2 beats and odd notes last 1 beat) and set a trumpet like sound. Regarding boundedness, you can transpose 1 octave down or up the note your going to play if it goes out from the registry you fixed. I guess this would result in a very nice bebop like improvisation. If you want to rock, add a II/V/I jazz backtrack and you are ready to publish. I would like to listen to this veery much! Please make it!! A small mathematical note: when we only use the up/down information, it seems like we are using less information. However, froma mathematical pint of view, if you give me the story of a number trhougb Collatz (ups and downs), I am able to uniquely identify the starting number. So on balance we are using the same amount of information.
@samuelzackrisson8865
@samuelzackrisson8865 5 месяцев назад
all positive integers will reach a power of two is another way of putting it i think
@Tasarran
@Tasarran 3 месяца назад
Trying to prove this has driven men mad. No kidding.
@dinkster2498
@dinkster2498 5 месяцев назад
new AlgoMotion video just dropped! Give me more combinations of random mathematical concepts with music theory!!!
@adamgranger1514
@adamgranger1514 Месяц назад
What's cool about this is that, since the Collatz sequences can never end up on a multiple of 3 (unless you start on a multiple of 3 but then the sequence moves away from 3's after the first odd number), the pitch class strategy will never use the notes C, D sharp, F sharp, or A. This means that the melodies using this strategy will always be in the C sharp/D octatonic scale!
@TheOne_6
@TheOne_6 5 месяцев назад
strategy 3 sounds great
@afj810
@afj810 5 месяцев назад
Because it's cheating.
@official-obama
@official-obama 5 месяцев назад
@@afj810 where are the rules?
@afj810
@afj810 5 месяцев назад
@@official-obama it trivializes the harmonic aspect by defining the variation to be harmonious. What's the point of tying it to that sequence at all if you're just going to do this?
@official-obama
@official-obama 5 месяцев назад
@@afj810 the rhythm? plus it can also drift over time
@afj810
@afj810 5 месяцев назад
@@official-obama rhythm isn't changing though
@DarthCalculus
@DarthCalculus 5 месяцев назад
This sounds so metal 🤘
@reasonsreasonably
@reasonsreasonably 5 месяцев назад
Meshuggah specifically.
@zix2421
@zix2421 2 месяца назад
Example at the end sounds VERY cool
@davebowman6497
@davebowman6497 5 месяцев назад
I was fascinated as to how quickly I adoped to expecting, musically, for the sequence to go to the value 1. Or, again musically, the root if you wish.
@ArthurOgawa-q9z
@ArthurOgawa-q9z 5 месяцев назад
Your very inspiring video made me think of the following new thought: given a set of Collatz sequences, when considering a new sequence, terminate the sequence as soon as it falls on a number which has appeared in any sequence already observed. Then the length of the sequence is measured only to that length. I wonder if this "Reduced Collatz Sequence" sheds any new light on things. If we have a function on the natural numbers that yields the "reduced length" of the corresponding Collatz sequence, then how quickly does the envelope of that function increase? ~~~~Arthur Ogawa
@D3mONsAvi0r
@D3mONsAvi0r 21 день назад
it make my Day
@pup64hcp
@pup64hcp 5 месяцев назад
Strategy 4 sounds like a flashback sequence
@dynaboyjl.4220
@dynaboyjl.4220 5 месяцев назад
Whole tone scale babeeeeey
@Qaptyl
@Qaptyl 5 месяцев назад
whole tone scales are always used in flashback sequences and #4 is constrained to the whole tone scale
@johnterpack3940
@johnterpack3940 4 месяца назад
I can imagine further constraining it within a key. Maybe use another sequence to control the key or mode. You could basically generate infinite background music for a video game that changed constantly while always maintaining a specific mood.
@spindlymist
@spindlymist 3 месяца назад
This is called algorithmic or procedural music. You might be interested in the work of Nicklas Nygren, a game developer who specializes in algorithmic music. Two of his games, Uurnog and Ynglet, have entirely procedural soundtracks.
@zix2421
@zix2421 2 месяца назад
It was really cool video idea
@otonanoC
@otonanoC 3 месяца назад
You should try the mapping in "absolute" frequency. Frequencies get farther apart higher on the keys because they are ratios rather than absolute distances.
@ultimasvalk
@ultimasvalk 5 месяцев назад
Love the 27
@UGZ777
@UGZ777 5 месяцев назад
7:36 had cool sound to it
@TheDeadTheories
@TheDeadTheories 5 месяцев назад
Would be interesting to mod 8 the numbers and apply them to the notes of scales. Thumbs up if you agree he should do this.
@strippins
@strippins 4 месяца назад
More musical than a lot of atonal modern music.
@kristinborn8882
@kristinborn8882 5 месяцев назад
imagine playing music at a concert but the sheet music is 8:41 or 9:56 :skull:
@CalculusIsFun1
@CalculusIsFun1 3 месяца назад
A sound that probably kept many a mathematicians awake at night scratching their heads down to the skull.
@alienmoonstalker
@alienmoonstalker 5 месяцев назад
I'd like to hear one confined to a major scale!
@TheSheep1
@TheSheep1 Месяц назад
The whole 27 on 6:53 actually sounds cool
@PM74rake
@PM74rake 5 месяцев назад
This sounds good 👌 😌
@gswcooper7162
@gswcooper7162 4 месяца назад
Rather than mapping the numbers to notes, why not map them to frequencies instead? Then, a number that's twice as large would map to a note exactly 1 octave higher - essentially a logarithmic mapping; you could go a few thousand numbers high and still be in a useable set of octaves. For example, number n ---> frequency of 20+n Hz. So 1 would be 21Hz (just above/below the lower limit of human hearing) and 20000 would be 20020Hz (somewhere around the upper limit)...
3 месяца назад
6:35 has the beginning of the Buddy Holly riff
@altarcat
@altarcat 5 месяцев назад
we making a frums song with this one 🔥🔥
4 месяца назад
I think it would be interesting to potentially use a bounded set of four or five octaves but for half steps exceeding the bounded range add additional notes by the same rules creating chords.
@BlackMoonMaster
@BlackMoonMaster 5 месяцев назад
Obviously I'd heard of 3x+1 quite a few times but I would never have thought about this how much time do you spend finding these ideas ?
@randomweeb4736
@randomweeb4736 5 месяцев назад
What is your sheet music? Collatz conjecture
@cameronhunt5967
@cameronhunt5967 4 месяца назад
I think using the log of the hailstone numbers would be a good way to help limit the range but keep the shape of the sequence
@YT-AleX-1337
@YT-AleX-1337 3 месяца назад
Strategy #4 forever
@8bitconvertermachine751
@8bitconvertermachine751 4 месяца назад
Alien jazz, neat
@nine_bone_nick
@nine_bone_nick 5 месяцев назад
I would love to hear this redone but with the only valid notes all being a part of a chosen key.
@PT-dz3iv
@PT-dz3iv 3 месяца назад
Use the frequency to encode long sequences.
@CrystalDonnelly-s5p
@CrystalDonnelly-s5p 2 месяца назад
I loved trying to find a number that would go up to infinity in third grade.
@zachrodan7543
@zachrodan7543 5 месяцев назад
I feel like there i a critical issue with some of these strategies: seems like we should impose an additional restriction, that 4-2-1-4 puts you back on the same note. it is, after all, a loop
@carlocabibi9505
@carlocabibi9505 3 месяца назад
The ending one is very similar to the intro to Long Piece No. 3 Part 1 by Egg
@fivey209
@fivey209 5 месяцев назад
I did the sequence for the numbers "1234567890" repeated 9 times and it obeyed the conjecture
@viola_ti_do4291
@viola_ti_do4291 4 месяца назад
This feels almost like developing variations
@sigitrendang5195
@sigitrendang5195 5 месяцев назад
John Petrucci: "Guys, i have an idea for the next album"
@christhescienceguy6285
@christhescienceguy6285 3 месяца назад
This almost sounds like the Jurassic Park sega genesis game music
@FriskaPiano
@FriskaPiano 5 месяцев назад
What a vibe!!
@Henrix1998
@Henrix1998 5 месяцев назад
Taking logarithm of the number would keep the sequence bound to sensible scale range quite easily. Of course it would need rounding however
@twoja.mama.
@twoja.mama. 4 месяца назад
this would make a SICK pokémon battle theme
@Sam-dh2ki
@Sam-dh2ki 2 месяца назад
Reminds me of “Mother Earth’s Plantasia” by Mort Garson
@AnatoliiGD31415
@AnatoliiGD31415 2 месяца назад
The number 8 sounded like the music from World 1-2 in Super Mario Bros
@1d10tcannotmakeusername
@1d10tcannotmakeusername 4 месяца назад
I could swear I've heard this melody in the Serial Experiments Lain soundtrack
@fehzorz
@fehzorz 4 месяца назад
What about converting numbers to HZ and snapping to the nearest note (or for even more fun, just running with the micro tones)
@HwanSangHyang
@HwanSangHyang 5 месяцев назад
How about use pitch class + Each digit has Each octave 2 is D in 1st(lowest) octave, 20 is D2 + C#1 2024 is D4 + C#3 + D2 + E1 like that. you can use UP to 7 digit and remove 2 black note if you want
@claudiopalana
@claudiopalana 5 месяцев назад
The last example reminds me a lot of "Tail of Benin" theme by Walter Smith III 😂
@cornerboy310
@cornerboy310 5 месяцев назад
I like strategy 5
@ajipriyatmoko3767
@ajipriyatmoko3767 5 месяцев назад
Same
@AngelPl4y3r
@AngelPl4y3r 4 месяца назад
A lot it feels like something Jordan Rudess would have played at some point.
@derpnerpwerp
@derpnerpwerp 5 месяцев назад
I propose an alternate strategy: the note's pitch and duration should be equal to the pitch and duration at that index of beethoven's 5th symphony (using the modulus of the number of available notes)
@axery6806
@axery6806 4 месяца назад
I had a stroke listening to this
@bruhthing1010
@bruhthing1010 5 месяцев назад
Heres an idea: put shepherds tone version of each note so that limiting the range might sound smoother? idk im coming up with this idea at 3 am
@dylanmercergo7853
@dylanmercergo7853 Месяц назад
WHO LET 3X+1 COOK?! 💯💯🙏🙏🙏🙏😭😭😭😭
@maljamin
@maljamin 5 месяцев назад
Can you reverse into a sequence starting with 1 and branching where applicable (1 comes from 2 comes from 4 - 4 comes from 8 or 1). There are trails of doubling forever to inaudible, but reliably also these "one less and divide 3" drops down into more trails of doubling. Just seems interesting what chords the branches might make.
@eheheheheheheheh
@eheheheheheheheh Месяц назад
now solve the problem, how many cocaine is needed to be able to dance to this crazy music
@katsitovlis6791
@katsitovlis6791 5 месяцев назад
This video have to has millions view
@lamonte5255
@lamonte5255 13 дней назад
my fav part (6:53)
@MoolsDogTwoOfficial
@MoolsDogTwoOfficial 5 месяцев назад
Ahh, the good ol’ CS50 shorts exercise.
@command49.1game6
@command49.1game6 5 месяцев назад
Yo! Try using the harmonic series(or just multiplying a fundamental freq(preferably a low one) by the hailstone number) instead of the out of tune 12tet! And coming up with a strategy with that, like locking every note to an octave(2/1) or a 3/1. The subharmonic series have the opposite feeling to the harmonic series. its dividing a base freq by an integer, instead of multiplying.
@iimxBlade
@iimxBlade 3 месяца назад
Also would have been nice to map it on scales to see how it sounds if its not just atonal
@SkateAwayTheDay
@SkateAwayTheDay 2 месяца назад
yeah but how does all 12 notes sound backward 🤔
@dandelionthebomber3517
@dandelionthebomber3517 5 месяцев назад
Maybe I can use these for my ringtone
@vandy_fan8056
@vandy_fan8056 4 месяца назад
What if you played 2 at once?
@thegoof2763
@thegoof2763 4 месяца назад
Are you talking about playing two at the same time or averaging the current number (eg because idk 3*+1 for the third one in lists 4,12,58 and 4,57,23 is 58 and 23) then modulating it to 127
@vandy_fan8056
@vandy_fan8056 4 месяца назад
@@thegoof2763 two at the same time, I want to hear the wacky harmonies
@Sam-dh2ki
@Sam-dh2ki 2 месяца назад
I kinda like it
@PhuongPhuong-xt8jg
@PhuongPhuong-xt8jg 5 месяцев назад
I don't know but an odd number times 3 is an odd number, plus 1 is an even number, then divides 2. And eventually 4 - 2 - 1
@hellgazer8370
@hellgazer8370 5 месяцев назад
2:33 Welcome to WHITESPACE.
@onoakposehaefekodha3974
@onoakposehaefekodha3974 4 месяца назад
I would have prefered a diatonic hailstone sequence to MIDI mapping
@Sasham4
@Sasham4 2 месяца назад
first guess is it deca euler roll line?
@oiem6745
@oiem6745 3 месяца назад
could you use negative numbers?
@electronics-hub-nd
@electronics-hub-nd 3 месяца назад
No, it kind off breaks with neagative numbers. You can see veritasim's video about it
@zachrodan7543
@zachrodan7543 5 месяцев назад
27: "hold my beer"
@a_makarov
@a_makarov 5 месяцев назад
2:13 I thought that the most logical interpretation is to make numbers represent degrees of a certain key
@ndreaCaola
@ndreaCaola 2 месяца назад
8:41 The MIDI Note 37 Sound like air. 8:41
@alierenkaya6548
@alierenkaya6548 3 месяца назад
"the sequences are getting longer, so lets lower the starting point" 2:51 *8* 2:59: *oh really?*
@skmgeek
@skmgeek 5 месяцев назад
Great video! One small suggestion though: the volume difference between your voice and the notes was quite large, maybe try balancing them a bit better. Apart from that, this video was really cool, well-made and informative! keep up the great work, you've earned yourself a subscriber :3
@evanpincus2203
@evanpincus2203 5 месяцев назад
Doing this on a chromatic scale just sounds like Harry Partch percussion runs… can we get this in some 46 note to the octave tuning (i can’t remember exactly how many notes he uses lol)?
@arxeha
@arxeha 5 месяцев назад
6:33 i thought i was about to get Weezered...
@stcofficeoffice
@stcofficeoffice 5 месяцев назад
"There Is A Fractal Named Collatz"
@hurktang
@hurktang 5 месяцев назад
Why not trying a frequency approach?
Далее
music theory is witchcraft
4:00
Просмотров 658 тыс.
"Когти льва" Анатолий МАЛЕЦ
53:01
История Hamster Kombat ⚡️ Hamster Academy
04:14
Music That Sounds Like The Lyrics
7:41
Просмотров 3,4 млн
Conway's Game of Life as a Musical Instrument
11:55
Просмотров 160 тыс.
The Oldest Unsolved Problem in Math
31:33
Просмотров 10 млн
Quest To Find The Largest Number
11:43
Просмотров 446 тыс.
Exploring Word Chains
9:45
Просмотров 205 тыс.
Numbers too big to imagine
8:02
Просмотров 2 млн