UNCRACKABLE? The Collatz Conjecture - Numberphile

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

Комментарии • 3,3 тыс.

  • @numberphile
    @numberphile  5 лет назад +171

    Catch David on the Numberphile podcast: ruclips.net/video/9y1BGvnTyQA/видео.html

    • @raydarable
      @raydarable 5 лет назад

      Why does the book show 1 going back to 2? Shouldn't it go to 4?

    • @ashkanledu2282
      @ashkanledu2282 5 лет назад +1

      ​@@raydarable Cause as he explained in the video, an odd number multiplied by 3+1 is always even so he goes 1 step further and divides it by 2
      So the formula would be :
      if it's even : n/2
      if it's odd (3n+1)/2

    • @ashkanledu2282
      @ashkanledu2282 5 лет назад

      @@tejaspathak375 Check my comment below, I get a bit deeper into this question

    • @raydarable
      @raydarable 5 лет назад

      @@ashkanledu2282 Thanks, didn't realize the cover was skipping that step.

    • @foxleo6729
      @foxleo6729 5 лет назад

      Isnt this just a fractal if you layer all these solutions?

  • @scottanderson8167
    @scottanderson8167 6 лет назад +3061

    “Seven seems to be an odd number.”
    That’s why he’s a maths professor.

    • @user-sx2lc4jt1r
      @user-sx2lc4jt1r 5 лет назад +10

      What d u mean

    • @HN-kr1nf
      @HN-kr1nf 5 лет назад +148

      @@user-sx2lc4jt1r he is clearly extremely skilled and educated in the field of mathematics

    • @debashisbarik4805
      @debashisbarik4805 5 лет назад +6

      😆 😆

    • @sohee7597
      @sohee7597 5 лет назад +1

      >_>

    • @powerplay.556
      @powerplay.556 5 лет назад +7

      He's certainly no English professor. Love when people say "prehaps" (0:08) and then think they're smart.

  • @jalepenopvp2300
    @jalepenopvp2300 6 лет назад +332

    This guy has legit the most calming and comforting voice I’ve ever heard

    • @Nerine98
      @Nerine98 3 года назад +7

      He reminds me of my university professor so it actually makes me nervous as it reminds me about the work I have to do damn

    • @Asofia20
      @Asofia20 2 года назад +4

      it’s like mathematics with Bob Ross

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

      So frickin accurate 😤@@Asofia20

  • @badhombre4942
    @badhombre4942 3 года назад +193

    This must be the formula that banks use, to calculate fees, that reduce my account to 1.

  • @Eleni_E
    @Eleni_E 7 лет назад +1589

    I'm reminded of the wikipedia phenomenon where, if you click the first link in almost any article that isn't in parenthesis or italics, and keep doing that long enough, you will eventually end up at philosophy.

    • @traso56
      @traso56 7 лет назад +239

      tried nuclear power plant ended in philosophy
      tried C language, i'm looping when i reach math
      they have read this :o

    • @typo691
      @typo691 6 лет назад +79

      And your comment reminds me of the six degrees of separation.

    • @DeathBringer769
      @DeathBringer769 6 лет назад +63

      The Wikipedia degrees of separation from Philosophy... it usually gets you there within 5-10 clicks from my experience, lol.

    • @1jerrycamacho497
      @1jerrycamacho497 6 лет назад +34

      That's because philosophy is the source. Without philosophy, we could not be as advanced as we are. This is common knowledge to philosophers.

    • @I.amthatrealJuan
      @I.amthatrealJuan 6 лет назад +19

      Also try that with Hitler

  • @JimCullen
    @JimCullen 8 лет назад +1414

    Man I chose 4 initially. Worst possible number…

  • @finchisneat
    @finchisneat 4 года назад +82

    My friend in high school told me about this nearly 20 years ago, so cool to see a video about it!

    • @megauser8512
      @megauser8512 3 года назад +2

      I notice that if you start with 0, you don't get to 1, but you keep looping back to 0 over and over again, since 0 is even. Also, at the end when they ask "Why not 3*n - 1?", I thought "Hey, if we do the 3*n + 1 problem with negative numbers, then if we let n = -m, where m is a positive odd number, then we get 3n + 1 = 3*(-m) + 1 = -3*m - (-1) = - (3*m - 1), and if m is even, then we get 2*n = 2*(-m) = -(2*m), so the negative cases reduce to the 3*n - 1 problem for positive n (if we take the absolute value)!"

    • @JohnSmith-xb4ux
      @JohnSmith-xb4ux 3 года назад

      It's amazing how many teachers shouldn't be teachers , after just paying a few minutes of attention while I was eating I just posted the solution in the comments section.

    • @asiamies9153
      @asiamies9153 3 года назад

      @@megauser8512 0 not natural

    • @sahiba2297
      @sahiba2297 3 года назад

      @@megauser8512 The Conjecture is defined for Positive Integers ≥ 2

  • @Croxmata
    @Croxmata 8 лет назад +1016

    And as we learned, Brady was most likely to choose 7 out of all numbers from 1 to 10.

    • @SatanicBunny666
      @SatanicBunny666 8 лет назад +113

      Actually, some studies have been done on this and turns out, if you ask people to pick a number between 1 and ten, 7 and 3 are the most common answer.

    • @Halo3Matalix
      @Halo3Matalix 8 лет назад +25

      But if there is a study showing that people pick 7 or 3 as a common answer, doing the test again would result in different numbers or the same numbers. we don't know if the data is correct simply because we can't tell if people are really just randomly picking those numbers or picking them on purpose because the information they got from the initial test. i guess what i'm trying to say is the moment we "record" something is the moment that bit of information becomes irrelevant.

    • @MugenJinSan
      @MugenJinSan 8 лет назад +33

      There's actually a video about this on this channel, that's why Vexatos said that.

    • @furbyfubar
      @furbyfubar 8 лет назад +17

      Also, he obviously *knew* the subject he was asking about, so he was not very likely to pick 1, 2, 4 or 8 given how short a chain that would be... 5 would also be sort of short. It just made for the best example here.

    • @MadTiger20001
      @MadTiger20001 7 лет назад +13

      People often pick 7, sometimes 2 or 3. People like primes and 5 is too central, it seems too obvious.

  • @andlabs
    @andlabs 7 лет назад +452

    My first introduction to the problem was one of the example in former Bell Labs Unix co-pioneer Jon Bentley's book "Programming Pearls", which is a collection of columns on the theory and practice of software design he wrote for seminal comp sci journal Communications of the ACM over the years, expanded and with exercises. One of the exercises in one of the early chapters was this conjecture (in the Second Edition it's Column 4 Question 5).
    In the back of the book is a collection of hints. Here is the hint for this question. It has stuck with me ever since I first read it:
    "If you solve this problem, run to the nearest mathematics department and ask for a Ph.D."

    • @elrak0219
      @elrak0219 6 лет назад +6

      Is there any reason that “n” can’t be negative? if you do it with a negative variable, it just ends up as -1 and not 1.

    • @danishqureshi8583
      @danishqureshi8583 6 лет назад +20

      elrak0 2
      I think it's because of the "+1", adding a positive to a positive is different than adding a positive to a negative, since 5+1=6 but -5+1=-4. But I'm no math genius, so idk.
      For example:
      -5
      -5(3)+1=-14
      -14/2=-7
      -7(3)+1=-20
      -20/2=-10
      -10/2=-5
      Cycle repeats.

    • @elrak0219
      @elrak0219 6 лет назад +4

      Danish Qureshi That’s exactly how it works, I believe there are four total loops fot starting at a negative(if you do a quick google search for 3n+1, you should find a Wikipedia page that has more than enough information on variation, loops, mathematics, etc.)

    • @alexandertownsend3291
      @alexandertownsend3291 3 года назад +20

      @@elrak0219 n could be negative, but then it wouldn't be the Collatz Conjecture. A conjecture is an educated guess in math. The collatz conjecture was an educated guess by the mathematician Lothar Collatz. The conjecture is something like, "I think that every positive whole number n goes to one under this process". While these are probably not his exact words you get the idea. He said nothing about n being negative.
      You could ask about negative numbers, but that is its own separate, but still interesting problem. I hope that clears things up.

    • @tommyencrapera1629
      @tommyencrapera1629 3 года назад +3

      What is the formula trying to decipher? Like why did they choose those numbers 3x+1 and not 4x+1 or 3x-1 and so on , what is the end game ? Is it the Only formula that always falls back to 1 and they dont know why? I'm trying to figure out what it would prove if there is a number that goes onto infinity or completely forms a separate loop , then what would that determine? Sorry for not understanding and seeing what I'm missing .

  • @nimets123
    @nimets123 3 года назад +13

    it is interesting to look at the problem with binary numbers. dividing by 2 is just binary shifting to the right, because lowest bit is 0 for even number. 3n+1 is shifting the initial number to the left, adding the original number and then add 1. the middle path is reached when the highest bit is 1 and the rest is 0. they then can be reduced to "1" by shifting to the right.

  • @simonreinsperger718
    @simonreinsperger718 7 лет назад +804

    "Wow... 16, very even number!"

    • @sarahvan3826
      @sarahvan3826 5 лет назад +82

      Because it's a power of 2!

    • @nohaylamujer
      @nohaylamujer 4 года назад +63

      That's right: it's quadruple even.

    • @arunpathak9851
      @arunpathak9851 3 года назад +3

      Shut up

    • @thatoneguy8966
      @thatoneguy8966 3 года назад +20

      Square root, fourth root, divide by two, divide by four

    • @ibite100
      @ibite100 3 года назад +4

      Your problem??

  • @esotericVideos
    @esotericVideos 7 лет назад +42

    The first part of every numberphile video gets me excited to try to solve a problem, the second part convinces me that there's no point in trying because tons of people have already tried. :/

  • @numberboxgamer
    @numberboxgamer 6 лет назад +18

    This is literally just "4 is cosmic" in math form lol I appreciate that very much.

  • @blu4able360
    @blu4able360 8 лет назад +120

    Thank you for making this video!

    • @numberphile
      @numberphile  8 лет назад +21

      +Jake S (blu4) thank you for watching it. Please show your friends. :)

    • @eugenebayak6807
      @eugenebayak6807 8 лет назад

      +Numberphile Ok (no)

    • @rafa3lico
      @rafa3lico 8 лет назад +7

      wat

    • @CoolJoe330
      @CoolJoe330 8 лет назад

      Nissan > Suzuki

    • @1951split
      @1951split 8 лет назад +1

      +Numberphile Can you explain to me why sequences that follow any number that solely consists of a lot of ones (like 1111111111111111111111111111111111111111111111111111111111111111111111 ) always follow the next general rule:
      {meaningless number}25{a lot of zeroes}4
      {meaningless number}25{a lot of zeroes}2
      {meaningless number}25{a lot of zeroes}1
      {meaningless number}75{a lot of zeroes}4
      {meaningless number}75{a lot of zeroes}2
      {meaningless number}75{a lot of zeroes}1
      and so on...
      the {meaningless number} gets bigger and the number of zeroes gets lower, until there are no more zeroes left and then the sequence turns ""normal"" like any other sequence...

  • @Rock4896
    @Rock4896 8 лет назад +192

    what about the 360 noscope conjecture tho

    • @Xeverous
      @Xeverous 8 лет назад +29

      link pls, I want to see this dank conjecture

    • @calholli
      @calholli 8 лет назад

      360j -n +s = 360nc
      j= jump... n= n0sc0pe... s= sh0t... c= c0njecture
      I leave it t0 y0u t0 s0lve... if y0u can write this int0 a sentence, y0u win

    • @YoHoOMirster
      @YoHoOMirster 8 лет назад

      The 360 noscope conjecture equals a number between 360 and Conjecture.

    • @Biliklok
      @Biliklok 8 лет назад

      MLG pro only

    • @xygomorphic44
      @xygomorphic44 8 лет назад +8

      it always goes off to 420

  • @haoyu7937
    @haoyu7937 5 лет назад +269

    I have a truely marvelous proof to the collaz conjecture whitch this planet is too small to contain

  • @doodlefox9837
    @doodlefox9837 8 лет назад +17

    I like how it started like the fibonacci sequence; 1, 1, 2, 3, 5.
    I wonder if it follows that pattern even longer with a bigger tree..

  • @BurakBagdatli
    @BurakBagdatli 8 лет назад +374

    Thanks for ruining my life. I've been absolutely obsessed with this since the video came out and cannot function as a productive member of the society anymore.

    • @manijoy6437
      @manijoy6437 5 лет назад +3

      i feel your anguish

    • @tgrizz213t
      @tgrizz213t 5 лет назад

      so does he still find a pattern?

    • @thesheq5023
      @thesheq5023 5 лет назад +6

      Burak Bağdatlı zero will not result in one

    • @zer0python
      @zer0python 5 лет назад +3

      How far did you get? I went as far as translating the function over 4x. But stopped working on it. I'm sure if I analyzed the x sequences, I'd end up just as lost as everyone else. :-) -- I prefer spending my time on the factoring problem though. It's just such a fun challenge.
      For anyone else who wants to play with it (yanked from my notes):
      Lets recap, originally we defined the function as follows:
      f(2n) -> n/2
      f(2n+1) -> 3n+1
      but with our new found knowledge we can define it further as:
      f(4n+0) -> n/2
      f(4n+1) -> 4 * (3 * (n/4) + 1)
      f(4n+2) -> 4 * floor(n/8) + (2 + -1^((n/4)+1))
      f(4n+3) -> 4 * (3 * (n/4) + 2) + 2

    • @esotericVideos
      @esotericVideos 5 лет назад +1

      Don't solve it before me! lol
      I've been working hard on it. I keep thinking I have a thread on a solution.

  • @kevingil1817
    @kevingil1817 4 года назад +12

    0:16 He chose seven on purpose! He knows it's the least random number! Bold strategy.

  • @Faisal710
    @Faisal710 2 года назад +4

    I am working on Prime numbers and I am amazed to see your expression they are extremely useful in my work Thank you man

  • @simonmultiverse6349
    @simonmultiverse6349 3 года назад +6

    The cover of the book is taking a short cut. It has an arrow going from 1 to 2 so it's showing two steps n-> (3n+1)/2 (combining the multiplication and the division by 2).

  • @maki6203
    @maki6203 4 года назад +2

    today was my first day at uni and my professor mentioned this conjecture. i was intrigued so i decided to look into it more THANKS NUMBERPHILE FOR COVERING IT

  • @ljfaag
    @ljfaag 8 лет назад +1471

    I found a counterexample, but the comment section is too small to contain it :P

    • @justlikedirt9634
      @justlikedirt9634 8 лет назад +72

      Then your lying, or else you would take every way possible to show everyone collaz is wrong. Stop faking smarts to get attention.

    • @IceMetalPunk
      @IceMetalPunk 8 лет назад +500

      +JustLikeDirt I think you missed Ijfa's reference...

    • @sworupadhikari7319
      @sworupadhikari7319 8 лет назад +472

      +JustLikeDirt. Its a joke. Fermat wrote that he had a an elegant solution to his last theorem but the margin in the book he was studying was too small to contain it.

    • @rohitg1529
      @rohitg1529 8 лет назад +146

      +JustLikeDirt it's a joke. it's what Fermat did about his theorem

    • @philofblood855
      @philofblood855 8 лет назад +28

      made my day

  • @garrett3883
    @garrett3883 8 лет назад +8

    I was messing around on my calculator and I think I found a similar problem. It has 3 rules. If even dived by 2, If divisible by 3 dived by 3, IF the number isn't divisible by 2 or 3 the multiply by 5 and add 1. do this and It always seems to get stuck at the loop 6, 3, 1, 6, 3, 1. Or depending on If you divided by 3 or 2 first 6 ,2, 1, 6, 2, 1. This works regardless of the number.

  • @air9music
    @air9music 4 года назад +146

    "I bet the person who found it thought maybe he was on to something..."
    I'm willing to bet the guy who found the tree for 63,728,127 wasn't sitting down and doing it 😂

    • @CineGeeks001
      @CineGeeks001 4 года назад +7

      Hold my java program for finding the steps

  • @reziik6904
    @reziik6904 8 лет назад +16

    I just learned to make simple stuff in python yesterday and my second program was making a loop to take a random number between a set range and do this.

  • @MiaVilleneuve
    @MiaVilleneuve 3 года назад +30

    When he said any fourth grader could understand it, I was like, that's probably an exaggeration. Then he explained it and sure enough I remembered reading about it in a children's math book called "Math For Smarty Pants" in elementary school.

    • @Xonatron
      @Xonatron 3 года назад +1

      Ha, awesome.

  • @ー-ーー
    @ー-ーー 5 месяцев назад +1

    Here are some axioms I could come up with
    General:
    1. Odd number x Odd number is always results in an Odd number.
    2. Adding 1 to an Odd number always makes it an Even number.
    3. All Even numbers repeatedly divided by two will eventually turn into a Odd Number.
    Specific to 3x + 1:
    1. In a 3x + 1 sequence the amount Odd numbers will always be less then the amount of Even numbers.
    2. There is never two Odd Numbers in a row during a 3x + 1 sequence.
    3. As the Even Numbers size increases the amount of divisions by 2 in the sequence increase.

  • @Albeit_Jordan
    @Albeit_Jordan 5 лет назад +7

    I think the key to this conjecture takes the form of yet another such - if we find the probability of *n* either being odd or even in the simple expression *x∙y=n* (where x and y are odd and even whole numbers) then I reckon it'd just be a game of permutations from there.

  • @BucketCapacity
    @BucketCapacity 8 лет назад +14

    I have studied the Collatz Conjecture in my spare time. The closest thing I got to anything useful was, when n =/= 24*2^x+1, x in the integers, n going to 1 in the collatz function is equivalent to there existing integers a and b such that 4a | n+b and b | n +4a. This does work for certain n in the form of 24*2^x+1, but not all of them (ex n = 193)

  • @zrebbesh
    @zrebbesh 8 месяцев назад +1

    Here's another function that generates a different 'hailstone sequence':
    if n is divisible by 3, n/3
    if n+1 is divisible by 3, 2n
    if n+2 is divisible by 3, 2n-1
    Every positive integer eventually goes to 1.

    • @gyeongchankim5423
      @gyeongchankim5423 8 месяцев назад

      That isn't true, since any number when entering phase of n~1(mod 3) cannot escape since 2n-1~n (mod 3) in that case, and it diverges. Perhaps you interchaned the cases of remainder being 1/2.

    • @zrebbesh
      @zrebbesh 8 месяцев назад

      @@gyeongchankim5423 The remainder is never 1/2. The only division is by 3, and that only happens when it is divisible (with no remainder) by 3.
      There are quite a number of functions like this that generate various sequences. Collatz is the simplest I'm aware of.
      This function family has some other kind of deep connection that I have never been able to figure out.
      I once thought that if I could figure it out I could fully understand what causes these sequences to converge. But I never could. There's no way I know of to predict whether a function has the property or not, but I wasted quite a bit of time trying to figure it out.

  • @logan2669
    @logan2669 8 лет назад +118

    I actually bet my friend 20$ that he couldn't do the 3n + 1 without getting to one
    I won the bet

  • @enlongchiou
    @enlongchiou 6 лет назад +25

    Reciprocal of (3m+1)/2^n rule of Collatz conjecture is (2^n*m-1)/3, can use (2^n*m-1)/3=m for both, it's only solution is m=1.

    • @Transyst
      @Transyst 5 лет назад +25

      This only shows that it doesn't return to the same number after just one 3m+1 step, no matter how many consecutive /2 steps afterwards, except for m=1. But it doesn't exclude cycles with multiple 3m+1 steps, or the possibility that it doesn't end.

    • @HL-iw1du
      @HL-iw1du 3 года назад

      Please post more videos Enlong

  • @yashrawat9409
    @yashrawat9409 3 года назад +92

    *" Don't Judge a b̶o̶o̶k̶ problem by its c̶o̶v̶e̶r̶ statement "*
    *- Collatz Conjecture*

  • @joaovitormatos8147
    @joaovitormatos8147 7 лет назад +12

    This conjecture was in my maths test, it asked how many non-repeating primes was in the Collatz Conjecture. People failed because they thought 1 was prime

  • @davidhahnert2914
    @davidhahnert2914 3 года назад +10

    I didn't know that mathematics had a Bob Ross.
    Homeboy mentions trees, clouds, and visual patterns in his explanation.

  • @seadub4944
    @seadub4944 4 года назад +14

    2^950
    Now i just need a universe large enough.
    Maybe ill find a lever large enough there too. 🎣🎣🎣

    • @parsec5366
      @parsec5366 3 года назад +5

      You can:
      2^950 = 9516908214257811601907599988159363584840065290620124537956939899622020205826587990689077212775400643774711832257235027522909345571487396529861315719055325605011013378863743193233193022939505515969530853007049198118833591724018432564205433218231411731277088674906521042072098232413978624
      Steps 950

  • @TimJSwan
    @TimJSwan 8 лет назад +13

    You did it!! The Collatz! Thank you! Now, I am about to be away from electronics for 9 months. At least I'll know that you guys made a video on the conjecture like I asked. I tried to prove it as an exercise. Going to watch the extra footage, of course. :)

  • @leobitencourt4719
    @leobitencourt4719 7 лет назад +11

    I think it has to do with an odd number multiplied by 3 adding 1 always being an even number, but an even number divided by two could give ya an odd number or another even number, so it kinda eventually forces it into powers of 2 and we all know it's downhill from there

    • @kb9880
      @kb9880 2 года назад

      Yeah that's the intuition behind the "conjecture" but we can't prove that eventually it will reach powers of two.

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

      @@kb9880 I don't think you can ever prove by doing it the hard way from here the upper limit of a diverging infinite set of " " prime values when he talks about records he's making a very important point because what is the biggest number in the list of records how can you define that as being the biggest without a sense of something greater it means nothing without the idea that there is yet another number. I was thinking this morning about this powers of two thing it's weird to see it show up in my RUclips feed because I wasn't saying much of it out loud. I was thinking of the difference between square roots cube roots and different numerals versus decimal integers so I found the whole thing fascinating to think about but part of it was because you're dealing with recursion once you start adding a decimal and going beyond and so you're back into these recursive trees when thinking about decimal roots it's weird that this would show up I like this video.

  • @itamarmedved6017
    @itamarmedved6017 6 лет назад +3

    Hi, I want to offer a seemingly simple answer, though probably not new/right:
    1. Any even number you continuously Divide by two will reach one.
    2. What we need to show is that the division action is more dominant than the multiplication.
    3. You can see that after every ‘up’ there is a ‘down’, but after a ‘down’ you can have either an ‘up’ or another ‘down’. Statistically this gives you 3 ‘up’s for every 5 ‘downs’.
    4. Now, let’s say that the probability was 1 ‘up’ for 2 ‘downs’, in that case it would be easy to see why the division action is dominant. Since what you get from two successive division (/4) is more powerful than what you get from one multiplication (*3).
    5. Now you can ask yourself what should the probability be in order for the actions to cancel each other out? Let’s assume extremely high numbers, so the +1 factor can be ignored. The answer is that the division (/2) should be one and a half times more probable than the multiplication (*3), in other words that for every 3 multiplications there should be 4.5 divisions.
    6. Since we now that the probability exceeds that, then we can say that when reaching very high numbers the ‘down’ action will surely be more prominent.
    7. Since we can see that what goes up will surely come down, but, what comes down will not surely come up, since it can get trapped in the 1-4 loop, then given enough time you will always get stuck in the loop.
    8. Problem solved!

  • @travispetit2410
    @travispetit2410 8 лет назад +7

    Finally!! A video about the 3x+1 problem :) Liked

  • @mistycremo9301
    @mistycremo9301 7 лет назад +5

    I feel that this problem may be easy enough to find a counter example for if you could search for loops without testing any number. Maybe try plugging in 3(2x)+1=x, or other equations that show the process that might occur to any number, and if you find that a number that would, following the rules of the conjecture, normally be able to follow such a pattern, you would find a loop that hopefully does not end in 1.

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

      Hey it’s been 5 years, did you manage to solve the Collatz conjecture?

    • @subscheme
      @subscheme 11 месяцев назад

      lol@@JHashcroft

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

      Surely 6 years was sufficient to find your counter example. After all, you said it's easy enough.
      Let's hear it.

  • @esaedromicroflora1247
    @esaedromicroflora1247 6 месяцев назад +2

    i'm gonna call all the powers of 2 "very even numbers" from now on, thanks professor

  • @stephen2876
    @stephen2876 8 лет назад +523

    73 takes 73 steps to reach 1

    • @numberphile
      @numberphile  8 лет назад +145

      +Stephen H I've not checked but of so, that's awesome. How many numbers have that property?

    • @rafa3lico
      @rafa3lico 8 лет назад +34

      so many questions can be made.. damn

    • @stephen2876
      @stephen2876 8 лет назад +124

      My bad. Some poorly written code on my part, I forgot to set up the count properly (oops). 73 actually has 115 steps. The only number in the first 100 numbers is 5, although the number 91 comes close with 92 steps.

    • @stephenkamenar
      @stephenkamenar 8 лет назад +89

      73 takes 73 steps if you use the shortcut he mentioned to do (n*3+1)/2 as one step

    • @BradenBest
      @BradenBest 8 лет назад +18

      For n = {1 ... 9999}, the highest number ever reached is 27,114,424, which happens at n = 9663, step #48 of an astounding 183 steps.
      =====
      N = 9663
      =====
      9663
      28990
      14495
      43486
      21743
      65230
      32615
      97846
      48923
      146770
      73385
      220156
      110078
      55039
      165118
      82559
      247678
      123839
      371518
      185759
      557278
      278639
      835918
      417959
      1253878
      626939
      1880818
      940409
      2821228
      1410614
      705307
      2115922
      1057961
      3173884
      1586942
      793471
      2380414
      1190207
      3570622
      1785311
      5355934
      2677967
      8033902
      4016951
      12050854
      6025427
      18076282
      9038141
      27114424
      13557212
      6778606
      3389303
      10167910
      5083955
      15251866
      7625933
      22877800
      11438900
      5719450
      2859725
      8579176
      4289588
      2144794
      1072397
      3217192
      1608596
      804298
      402149
      1206448
      603224
      301612
      150806
      75403
      226210
      113105
      339316
      169658
      84829
      254488
      127244
      63622
      31811
      95434
      47717
      143152
      71576
      35788
      17894
      8947
      26842
      13421
      40264
      20132
      10066
      5033
      15100
      7550
      3775
      11326
      5663
      16990
      8495
      25486
      12743
      38230
      19115
      57346
      28673
      86020
      43010
      21505
      64516
      32258
      16129
      48388
      24194
      12097
      36292
      18146
      9073
      27220
      13610
      6805
      20416
      10208
      5104
      2552
      1276
      638
      319
      958
      479
      1438
      719
      2158
      1079
      3238
      1619
      4858
      2429
      7288
      3644
      1822
      911
      2734
      1367
      4102
      2051
      6154
      3077
      9232
      4616
      2308
      1154
      577
      1732
      866
      433
      1300
      650
      325
      976
      488
      244
      122
      61
      184
      92
      46
      23
      70
      35
      106
      53
      160
      80
      40
      20
      10
      5
      16
      8
      4
      2
      Highest: 27114424

  • @jess4750
    @jess4750 8 лет назад +8

    I love watching your videos! They always give me something new to think about, as a future mathematician it's great to get a glimpse of what I could be working on!

  • @medexamtoolscom
    @medexamtoolscom 3 года назад +2

    I found a collatz calculator online and right off the bat found 2 numbers that last a long time. 447 for 80-something and 447123 which lasts for 138 iterations.

  • @drenz1523
    @drenz1523 3 года назад +7

    Here is something I figured out: If the numbers will eventually end in a loop other than the 1-4-2 loop, it cant be in the pattern odd-even-odd-even... and so on, ending with an even and go back to the same odd number at the start. This might help!

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

      I did some extremely precise calculations and all and here are the results. There's an infinite quantity of powers of 2 and of numbers that lead to a power of 2. Every single step you take with any number is literally just playing with fire and in the end you will get burnt.

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

      @@dmtc6913 so you solved it or somethin?

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

      @@drenz1523 My previous post included the full proof. There's no way to avoid the infinite number of death traps forever. Unless you could end up in a loop other than 1 4 2 1. Surely there's no such thing. My maths is too precise for that.

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

      @@dmtc6913 wym by death traps? all will eventually lead to 1? just because there are an infinite amount of numbers that go to a power of two, doesn't mean other numbers will eventually branch into them. it's kind of like the that one orchard problem that numberphile covered (Tree Gaps and Orchard Problems) : in an infinite lattice grid, there is a line goes infinitely far but will miss all the lattice points if its gradient is irrational. maybe a special number is that line, and all the points are powers of two.

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

      @@drenz1523 I must admit that my comments were mostly tongue in cheek, sorry.
      However, I can assure you with the utmost confidence that all numbers are doomed from the start. I didn't have to do any maths, I just come equipped with that knowledge. And give it out for free.

  • @davidwiatr8402
    @davidwiatr8402 8 лет назад +4

    Thanks for the book reference. I ordered it!

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

    The Collatz Conjecture states that for any positive integer n, repeated application of the Collatz function f(n) = n/2 (if n is even) or f(n) = 3n+1 (if n is odd) eventually produces the number 1.
    To prove this, we will first show that f is a well-defined function from the positive integers N to the eventual outputs {1,1,1,...} of the Collatz function. We will then show that f is injective, meaning that different inputs produce different outputs, and that f is surjective, meaning that every output is produced by some input. This will establish that f is a bijection and hence that the sets N and {1,1,1,...} have equal cardinality, proving the Collatz Conjecture.
    To show that f is well-defined, suppose that we have two different sequences of Collatz function outputs that start from the same input n and eventually reach different outputs. Then, by definition of the Collatz function, these sequences must differ at some point. However, this contradicts the fact that the Collatz function is deterministic - given an input, there is only one possible output. Therefore, the Collatz function is well-defined.
    To show that f is injective, suppose that there exist two different inputs n and m such that f^k(n) = f^k(m) for some k ≥ 0, where f^k denotes the k-th iterate of the function f. We will show that this leads to a contradiction.
    Suppose that n and m have the same parity (i.e. they are both odd or both even). Then, applying the Collatz function once to both inputs produces two new inputs, either both even or both odd, which are still different from each other. Since the parity of the inputs remains the same, this process can be repeated indefinitely, producing an infinite sequence of different inputs. Therefore, if n and m have the same parity, they cannot produce the same output after repeated application of the Collatz function.
    Now suppose that n and m have different parity. Then, without loss of generality, suppose that n is even and m is odd. Then f(n) is even and f(m) is odd, so f^k(n) and f^k(m) will always have different parity for any k ≥ 0. Therefore, if n and m have different parity, they cannot produce the same output after repeated application of the Collatz function.
    In either case, we have reached a contradiction. Therefore, if n ≠ m, then f^i(n) ≠ f^i(m) for all i ≥ 0, and hence f is injective.
    To show that f is surjective, fix k ≥ 1. We will explicitly construct an n such that f^i(n) = k for some i ≥ 0:
    Let n0 = k. If n0 is even, set n1 = n0/2; otherwise, set n1 = 3n0+1.
    Let n2 = f(n1) (apply f to n1). Continuing in this way, we construct a sequence ni decreasing to 1.
    Let n be the first ni that satisfies f(ni) = ni. Then f^i(n) = k where i is the number of steps taken.
    To see that n exists, we note that each ni satisfies ni ≥ 1, and so the sequence ni must eventually reach 1. Moreover, since f^i(n) is strictly decreasing, there can be at most one ni satisfying f(ni) = ni. Therefore, for all k ≥ 1 we can construct an n such that f^i(n) = k for some i ≥ 0, which shows that f is surjective.
    Since we have shown that f is injective and surjective, we have established that f is a bijection from the positive integers N to the eventual outputs {1,1,1,...} of the Collatz function. Therefore, the sets N and {1,1,1,...} have equal cardinality, which proves the Collatz Conjecture.
    QED

  • @juliusalbe2070
    @juliusalbe2070 8 лет назад +250

    So every number is eventually gonna hit a power of 2 and is done than. Even if they tend towards infinity, they would allways somewhere hit a power of 2 and than go all the way down to 1.

    • @numberphile
      @numberphile  8 лет назад +201

      But what if it gets caught in its own loop BEFORE it hits a power of 2 and drops to the ground --- for example see the extra footage linked in the description... If you use 3n-1 instead of 3n+1 that happens to 7....

    • @buildasnowman4601
      @buildasnowman4601 8 лет назад +121

      Why would they always hit a power of two?

    • @austinmitchell8846
      @austinmitchell8846 8 лет назад +41

      Maybe. We assume it is true, and all our evidence so far points to it being true, but we can't prove that it is.

    • @dariusdurian1910
      @dariusdurian1910 8 лет назад +1

      This is mathematics that involves powers of 2. Something math could do but not us humans

    • @YourMJK
      @YourMJK 8 лет назад +6

      +BuildA Snowman Because the only way for a number to become smaller (to become 1) is by dividing by 2, so if all will eventually get to 1 they must hit a power of 2

  • @TheReligiousAtheists
    @TheReligiousAtheists 7 лет назад +31

    1:26 I always knew no one uses multiplication tables!!😃

    • @wotsac
      @wotsac 4 года назад +3

      No, he just broke it down into something that fit in the (US) multiplication tables.

  • @dragoda
    @dragoda 2 года назад

    Veritasium also made a great video about this conjuncture. I love math and your channel. Please never change.

  • @michaelbauers8800
    @michaelbauers8800 8 лет назад +80

    Is it just me, or is the quality of comments on this one weaker than usual? ;)

    • @oluwatoyinokwunwa4989
      @oluwatoyinokwunwa4989 6 лет назад +1

      Michael Bauers Noticed that too. Thought I would see more educated comments.

    • @medexamtoolscom
      @medexamtoolscom 5 лет назад +1

      Roses are red, Violets are blue, 3n+1, Is eventually 2. Or maybe "Or divide it by 2".

    • @jameshuddle4712
      @jameshuddle4712 4 года назад

      (raises champagne glass) I found 21 to be amusing... But 27 simply did not know when to stop!

  • @AaronHollander314
    @AaronHollander314 6 лет назад +3

    Rule #1 has a lowering effect on any number and outputs an even number a certain percentage of the time. While rule #2 increases the number, it always produces an even number which is reduced further. Seems obvious that the number would tend downward. One step forward and two steps back. The misdirection is that you're tripling the number half the time, that's simply not the case.

    • @rajeevbagra5276
      @rajeevbagra5276 2 года назад +1

      Agree completely.

    • @legendgames128
      @legendgames128 2 года назад

      But if there was a number where the steps you take are like this: (3n+1)/2, (3n'+1)/2, (3n''+1)/2,... keep going like that forever, then the number would never reach 1.

  • @apollion888
    @apollion888 6 лет назад +2

    Great speaking voice, I'm sure you are a terrific teacher

  • @TheHereticAnthem20
    @TheHereticAnthem20 7 лет назад +57

    5:43 and then eVENTUALLY

  • @GlobalWarmingSkeptic
    @GlobalWarmingSkeptic 7 лет назад +16

    Extremely interesting! Just going over it I can already kinda see why this is a problem. You would have to find a set of numbers either where 3n+1/2 appears more than n/2, or you'd have to find a set of numbers that creates its own tree, which would probably be an extraordinary large number considering that, as numbers increase, it's less likely that you'll get a cyclical sequence.

    • @alantyte3317
      @alantyte3317 7 лет назад

      A cyclical sequence is inevitable as there are only six rules for finding the pivot of the 1-chain which effectively boil down to 3. The length of the cycle triples at every step up. The numbers do get huge but are consistent. Easier to talk directly.

  • @theroadie7537
    @theroadie7537 6 лет назад +1

    I have been running this project on BOINC for so long i forget when (2 years?) and now i know what it is doing.

  • @charlieangkor8649
    @charlieangkor8649 4 года назад +26

    proof:
    1) we postulate that Collatz conjecture is valid as an axiom. There are axioms in mathematics, and noone can prescribe you what you can accept as am axiom
    2) proof follows trivially.
    QED.

    • @ilprincipe8094
      @ilprincipe8094 4 года назад +7

      Harvard: You want a free scholarship?

    • @mosshotep
      @mosshotep 4 года назад +1

      the problem is not just proving it, the problem is proving it using the given axioms

    • @nohaylamujer
      @nohaylamujer 4 года назад

      But then you have to prove it IS an axiom and not a property derived and provable from other properties. Math works that way.

    • @alexeyvlasenko6622
      @alexeyvlasenko6622 4 года назад

      Actually, you can't add axioms arbitrarily. They must be consistent and independent of each other. Adding the Collatz conjecture as an axiom would only make sense if it's independent of the existing axioms of real number arithmetic (i.e., undecidable), and we don't know if that's the case. For instance, if we ever find a counterexample, we'll know that the Collatz conjecture is false, and so then we certainly can't add it as an axiom. Or, if someone proves that the conjecture is true, then it isn't an axiom either, since it would follow from the others. Of course, if you can prove that the Collatz conjecture is undecidable, then you can add it as an axiom.

    • @alexeyvlasenko6622
      @alexeyvlasenko6622 4 года назад

      @PotatoTornado You're right. If it's unprovable, then it's impossible to prove that it's unprovable, as this would imply that it is true. So, it can't be provably unprovable, but it could be unprovably unprovable.
      But we still can't safely stick it into arithmetic as another axiom, because this would be inconsistent if a counterexample does exist.

  • @chonchjohnch
    @chonchjohnch 4 года назад +9

    I decided to try a graph approach to this, specifically digraphs, every vertex has two incoming edges, one representing 3n+1 for some n and one representing n/2 for some n. Additionally each vertex has one outgoing edge which goes to a vertex representing the collatz function being applied. Basically every number has two incoming edges and one outgoing edge

  • @Tyshun-r6c
    @Tyshun-r6c 10 месяцев назад

    Simplified your rule can be represented by the following equation:
    \frac{x + 1}{2} & \text{if } x \text{ is even} \\
    x + 1 & \text{if } x \text{ is odd}
    \end{cases}
    This equation captures the essence of your rule: adding 1 to the input and, if the result is positive and even, dividing by 2; otherwise, leaving it unchanged

  • @DjVortex-w
    @DjVortex-w 8 лет назад +47

    Couldn't you build the tree in the opposite direction, ie. from the bottom up? In other words, start from 1 and do the reverse operations, always branching out when you can do both operations to the number.

    • @treufuss-yt
      @treufuss-yt 8 лет назад +4

      Yes you can. But it doesn't help.

    • @DjVortex-w
      @DjVortex-w 8 лет назад +1

      Treufuß
      It helps building a complete tree up to a certain depth, which will then help you with further calculations.

    • @DjVortex-w
      @DjVortex-w 8 лет назад +1

      *****
      Uh, no. You do the reverse operations, branching out every time you can do them both.
      In other words, you build the actual tree, but from bottom up.

    • @ITR
      @ITR 8 лет назад +1

      I think I saw a program that did that when I searched for more videos on the subject on youtube earlier

    • @MaxRay16
      @MaxRay16 8 лет назад +1

      +WarpRulez You would only be getting even numbers

  • @lukeblankenberg7371
    @lukeblankenberg7371 5 лет назад +6

    It seems to me (although this has probably been pointed out many times) that just because (3n+1)/2 > n we do not have to show that there are more n/2's in order to reach 1. What we have to do is show that it hits some power of 2 (as then it will immediately go to 1)(the last 1/2 should be fine as hitting a power of 2 or the next power of 2 is equivalent for the purposes of going to 1).
    The issue then is whether this is the limiting case (all cases with more n/2's in them before a power of 2, so that there aren't equal amounts of them, will all go to a power of 2 if this one does/they will eventually goes on a track that goes to this alternating between even and odd sequence that we might be able to show goes to a power of 2, or if some do not necessarily do so and so go to infinity).
    However, I have a nasty feeling that actually showing this is pretty hard. But I thought I might as well throw this out there.

  • @Knurf
    @Knurf 3 года назад +1

    The next number with more steps than 63,728,127 has 1 step more and is double of it.
    And even though that 63 million number has 949 steps, the lowest number with over or equal to 1000 steps is 1,412,987,847 with exactly 1000 steps and is way bigger than that.
    And the number with the most steps that is under 4 billion is 2,610,744,987 with 1050 steps.

  • @jeremybuchanan4759
    @jeremybuchanan4759 7 лет назад +22

    "If they never get to earth, of course, they're not hailstones."

  • @ZolarV
    @ZolarV 5 лет назад +8

    I have the solution. It's very simple and elegant, the collatz conjecture is a corollary of it. I'll publish it on arxiv once i fix the lettering. I tend to reuse symbols while writing the proof.

    • @АбдаллахМуслим
      @АбдаллахМуслим 5 лет назад

      are you kidding... or???

    • @ZolarV
      @ZolarV 5 лет назад

      @@АбдаллахМуслим no. Seems weird that i would kid.

    • @usualunusualkid7149
      @usualunusualkid7149 4 года назад

      @@ZolarV Have you finished it yet?

    • @ZolarV
      @ZolarV 4 года назад

      @@usualunusualkid7149, you know I have not. I still haven't been able to get a mathematician to take me seriously enough. I'm even thinking about straight up signing up for undergrad at UC Michigan just to get access to Dr. Lagarias.
      I only have a minors in mathematics, my major was general science. I was only 2 or 3 classes off from having a second BS in mathematics however.

  • @mayurhinje
    @mayurhinje 3 года назад +2

    python source code:
    def comes_down_to_one(x):
    print(f'input: {x}')
    steps_count = 0
    while x != 1:
    if x % 2 == 0:
    x = x / 2
    else:
    x = 3 * x + 1
    print(x)
    steps_count += 1
    print(f"steps_count: {steps_count}")

  • @adityakhanna113
    @adityakhanna113 8 лет назад +46

    2:50 to the right, it's not a paper, It's an XKCD comic.

    • @YoHoOMirster
      @YoHoOMirster 8 лет назад +16

      it's comic on the collatz conjecture

    • @NoriMori1992
      @NoriMori1992 8 лет назад

      Well-spotted! Don't think I'm familiar with that page, I'll have to Google it later!

    • @rohanpandey2037
      @rohanpandey2037 8 лет назад

      lol I saw that too

  • @wakeupnawaf
    @wakeupnawaf 8 лет назад +197

    why do they always draw on brown toilet papers?

    • @leedaniel2002
      @leedaniel2002 8 лет назад +49

      That's clearly not toilet paper

    • @EGarrett01
      @EGarrett01 8 лет назад +45

      Who poops on brown paper?

    • @DjSamvy
      @DjSamvy 8 лет назад +99

      Remind me to never use a bathroom where you live if that's what the toilet paper is like

    • @marianpalko2531
      @marianpalko2531 8 лет назад +12

      iiDioxide Brown toilet paper, to use your vocabulary, is the iconic symbol of Numberphile.

    • @gustavrsh
      @gustavrsh 7 лет назад +10

      it's cheap.

  • @dougr.2398
    @dougr.2398 6 лет назад

    I was David Eisenbud’s father’s Student, 1975-76 at SUSB. Professor Leonard Eisenbud was on my (exit Master’s Degree) oral exam committee along with Dr. Nandor Balazs & Dr. Harold Metcalf, my sponsor. Some years later, I briefly met Dr. L. Eisenbud’s doctoral advisor, Dr. Geno (Eugen) Wigner at a NY Academy of Sciences meeting at which I solved a puzzle posed in a lecture by a guest Japanese Physicist, thanks to discussion of the Aharanov-Bohm effect, taught to me by Dr. Max Dresden. The puzzle involved a seemingly mysterious (it isn’t, once you know how it works) jump in flux quanta in a SQUID magnetometer.

  • @GuySperry
    @GuySperry 8 лет назад +32

    Brady please! your videos are so quiet. I love the material, but it's so hard to hear. then the ad for the next video blows up my ears.

    • @numberphile
      @numberphile  8 лет назад +7

      it's pretty normal volume on my computer... I'm reluctant to start an arms war with advertisers and/or attention seekers who jack up their volume more and more... But I'll check it out.

    • @zanzlanz
      @zanzlanz 8 лет назад +3

      My issue is mostly how much bass the voices have. I actually have to turn down my subwoofer to understand what you guys are saying (in a lot of videos actually), haha. Maybe that's why it's quiet for some people - all the noise is in the bass :)

    • @TypIch
      @TypIch 8 лет назад

      Just tested. To hear what they are saying:
      TommyEdison video: speakers 14%
      This video: speakers 31%

    • @Hjerpower
      @Hjerpower 8 лет назад +2

      The video doesn't seem to be quiet to me but some of the ads can be really loud

    • @GuySperry
      @GuySperry 8 лет назад +2

      +Numberphile thanks for taking it as constructive. thanks for taking a look at it. I really love the content.

  • @lizardbaron3727
    @lizardbaron3727 8 лет назад +134

    Stop with all the "first" comments, it accomplishes nothing and wastes your time.

    • @lizardbaron3727
      @lizardbaron3727 8 лет назад

      By the way why won't Brady start another podcast, or has he got too much work already?

    • @lizardbaron3727
      @lizardbaron3727 8 лет назад +3

      +Sebastian Karlsson just had to get it out of my system, it frustrates me.

    • @brightface5005
      @brightface5005 8 лет назад +12

      reading your useless comment and replying to it was a bigger waste if time, thanks :/

    • @awesomedude6029
      @awesomedude6029 8 лет назад +11

      First

    • @thomas1055213
      @thomas1055213 8 лет назад +9

      first

  • @山山-y4q
    @山山-y4q 3 дня назад

    Collatz conjecture
    ζ(2)=π^2 /6
    3ζ(2)/2=π^2 /4
    =π^2 /2^2
    π⇔1
    1/4+1
    1/4+4/4
    5/4
    //5 is an odd number//
    3×5+1=16
    16=2^3→1
    All natural numbers
    reduce to 1 as per Collatz conjecture.

  • @lilcriz9187
    @lilcriz9187 6 лет назад +8

    And this is, why I love mathematics :)

  • @Verrisin
    @Verrisin 7 лет назад +4

    I see why it tends towards 1: 2>1.5+c (for all big numbers and all small are checked)
    but I wonder what keeps it from ever entering a loop...

    • @kinyutaka
      @kinyutaka 2 года назад

      The numbers in the paths are on separate moduli. Take the number 7, and think of it as 128x+7 or 7 mod 128. Multiply by 3, add 1 and divide by 2 to get 192x+11 or 11 mod 192.
      Do that again, and you get 288x+17, then 216x+13, and 81x+5. Furthermore, you can cut out parts of these mods to show that the paths are part of even smaller moduli:
      11 mod 192 is part of 11 mod 64. 17 mod 288 is part of 17 mod 32. And 13 mod 216 is part of 5 mod 8, leaving 5 mod 81 to be 2 mod 3
      Because of this, we can clearly show the direction of the path along the branching tree of Collatz, and show that the number 7 (which we already knew) goes all the way to one.
      Generalizing it, we can show that any number above the point where we can verify has a matching pattern, a matching path, that lies within the numbers we can verify, and thus must also drop below itself to a number that has been verified, thus proving that all numbers, without exception, drop down to 1.

  • @Mat_Rix
    @Mat_Rix 3 года назад

    For any positive integer which can be reduced by the Collatz conjecture to 1, it can be proposed the special kind of equation. On the other hand If this equation can be created for the particular positive integer, this integer can be reduced by the Collatz conjecture to 1. (v1xr4 2105.0003) As another step it can be proven that such equation can be created for any particular positive integer.

  • @DiegoTuzzolo
    @DiegoTuzzolo 8 лет назад +6

    dis anyone notice the fibonacci sequence on the 7's tree?
    (quantities of numbers going down)
    1
    1
    2
    3
    5
    then the sequence ends

  • @lopata_of_death6894
    @lopata_of_death6894 5 лет назад +60

    "I've become more powerful than any jedi."

    • @moonman____
      @moonman____ 4 года назад +3

      Twice the pride double the fall

  • @thesheq5023
    @thesheq5023 4 года назад +1

    If you look at (3k+1)/2. It is consistent that after some trials you will find a number that fulfills the request of (2^n). So really you’re looking for a number that doesn’t satisfy the equation (3k+1)/2 = 2^n + 2^q + 2^..... so find a number that when put into (3k+1) isn’t a series of 2, however i don’t think one exists...

  • @KeystoneScience
    @KeystoneScience 4 года назад +37

    If a number is to not reach one, a constraint is that it must be congruent to 63 mod 96.

  • @chizzicle
    @chizzicle 8 лет назад +5

    I feel like there's been a video about this here before, but considering how many maths videos I watch, it's entirely possible that was someone else's video, especially since some of the people I watch occasionally appear here as well

    • @DrGerbils
      @DrGerbils 8 лет назад +1

      Yeah. I remember seeing this recently as well, but a search for "collatz" doesn't turn up any videos I've watched recently.

    • @NoriMori1992
      @NoriMori1992 8 лет назад

      Pretty confident they've never ever covered this.

  • @brian-kt1rc
    @brian-kt1rc 5 лет назад

    If you use any equation that is a multiple of 3n+1 it will also terminate in 1. Eg. 6n+2 9n+3, 12n+4.
    But if you use an equation y=mx+c where c is greater than or equal to m, the equation will not terminate but will get stuck in a loop.
    Eg. 3n+3 will not work 6n+6 12n+20 etc.
    The trick to the algorithm 3n+1 is that you always get unique odd and even numbers. No number occurs more than once.
    The output of 3x+1 used as input for y=1/2x gives a number which will either be divided in a string of divisions eg. 120 60 30 15 or will be divided once and become an odd number. Thid odd number used as input into y=3x+1 will result in another unique number. This will continue until the exponential number of decays reduces the number to 1. However, when the equation has a value for c in the equation greater than or equal to m, then when the number gets low enough, the ratio of scaling is changed significantly and this results in a repeating pattern.
    The odd output of the function y=1/2x becomes the domain of the finction y=3x+1. So therefore all even numbers are excluded from the domain of y=3x+1. For any given odd number as input to the function y=3x+1, a unique even number will be output. This output is always even and becomes the domain of y=1/2x. The function y=1/2x repeats until an odd number is output. And so on. The values of the one fumction are always odd and the other even. Therefore these 2 functions never intercect at any number. Because the equation y=3x+1 is not a multiple of 2( i. e from equation y=2 ^-1), the values of output from the 1 graph to the other will not repeat. Therefore the output will always be unique numbers, until eventual exponential decrease from strings of consecutive halving takes place eg. 120 60 30 15.
    When the number gets sufficiently low, the c in the equation y=mx+c becomes significant. If the this number added to the multiple of x eg. Y=3x+1 makes the equation the equivalent of a multiple of the equation y=1/2x then the algorithm will not terminate. That is that the outputs of the equations will repeat in a loop. If however the equation y=mx+c does not reduce to a multiple of y=1/2x, then the number will terminate at value 1.
    Eg if the number is 3 and the equation is y=3x+1, 3x3+1=10 /2=5 x3+1=16 /2=8/2 =4 /2=2 /2=1. ( it can be seen that y=3x+1 effectively took 3 and multiplied it by 3.33 x. 3.33 is not a multiple of 1/2.)
    If y=3x +3 : 3x3+3= 12 /2=6/2=3 (y=3x+3 effectively multiplied the input of 3 by a 4x to get 12. 4 is a multiple of 1/2)

  • @ClaudioBrogliato
    @ClaudioBrogliato 5 лет назад +5

    The only pattern I see is that powers of two with even exponential, once you subtract one, become odd numbers that can be divided by 3.

    • @cuentafake140
      @cuentafake140 5 лет назад

      If you have odd powers of two and add one, that number is divisible by 3

    • @giridharlprabhu8939
      @giridharlprabhu8939 5 лет назад

      This is a result in number theory which is more formally defined as 4^x-1|3

    • @official-obama
      @official-obama 3 года назад

      @@cuentafake140 subtract* Also the only odd power of two is 1

    • @cuentafake140
      @cuentafake140 3 года назад

      @Orion Hunter Oh, I meant to say that 1 + 2^(odd number) is always divisible by 3, for instance:
      - 2^5 + 1 = 33
      - 2^7 + 1 = 129
      - 2^15 + 1 = 32769
      My english is pretty mediocre at best so... sorry z.z

  • @evanherk
    @evanherk 2 года назад +1

    what a lovely teacher.

  • @masonhunter2748
    @masonhunter2748 4 года назад +8

    Xkcd collatz conjecture: “if it’s odd, multiply by three and add one, if it’s even, divide by two, and eventually your friends will ask if you want to hang out”

    • @lakshsind8463
      @lakshsind8463 4 года назад

      Lol nice one

    • @masonhunter2748
      @masonhunter2748 4 года назад

      Laksh Sind just remember, xkcd came up with it

    • @nixtoshi
      @nixtoshi 3 года назад

      your friends will stop* calling to see if you want to hang out lol

  • @wintersfan
    @wintersfan 4 года назад +17

    27 Goes A Loong Way
    I Calculated It In School

    • @usualunusualkid7149
      @usualunusualkid7149 4 года назад +3

      27
      82
      41
      124
      62
      31
      94
      47
      142
      71
      214
      107
      322
      161
      484
      242
      121
      364
      182
      91
      274
      137
      412
      206
      103
      310
      155
      466
      233
      700
      350
      175
      526
      263
      790
      395
      1186
      593
      1780
      890
      445
      1336
      668
      334
      167
      502
      251
      754
      377
      1132
      566
      283
      850
      425
      1276
      638
      319
      958
      479
      1438
      719
      2158
      1079
      3238
      1619
      4858
      2429
      7288
      3644
      1822
      911
      2734
      1367
      4102
      2051
      6154
      3077
      9232
      4616
      2308
      1154
      577
      1732
      866
      433
      1300
      650
      325
      976
      488
      244
      122
      61
      184
      92
      46
      23
      70
      35
      106
      53
      160
      80
      40
      20
      10
      5
      16
      8
      4
      2
      1

    • @yashrawat9409
      @yashrawat9409 3 года назад

      @@usualunusualkid7149 absolute legend
      Unless you programmed it then legend

  • @tommykarrick9130
    @tommykarrick9130 5 лет назад

    I’ve watched this video so many times and this is so frustrating because it is so intuitive and clear that every number will obviously get to one and yet we can not prove it

    • @tommykarrick9130
      @tommykarrick9130 4 года назад

      awebmate the interesting thing about the problem is that it will always get to one and we don’t know why
      If it had a clear simple proof it probably wouldn’t be interesting

  • @matetoth2292
    @matetoth2292 5 лет назад +4

    When our computers will have enough memory, we might be able to get into a loop, that also starts and ends between two powers of 2.

    • @TheMinecraftACMan
      @TheMinecraftACMan 4 года назад +1

      It's potentially an infinite problem, so memory isn't really the issue. It's finding an efficient enough way to program it that you get a reliable answer in a reasonable amount of time...

    • @PickleRickkkkkkk
      @PickleRickkkkkkk 4 года назад

      L'homme Baguette im getting P vs NP vibes...

  • @nutzeeer
    @nutzeeer 4 года назад +5

    cant we roll this up from the back side by calculating numbers up from 1? like all the powers of 2, and deviations thereof.
    would guarantee completion i think

    • @lonestarr1490
      @lonestarr1490 3 года назад +4

      That's basically what people have in mind when they're building up those trees. The problem is, how do you prove that every single natural number appears as a node eventually?

    • @kinyutaka
      @kinyutaka 2 года назад

      @@lonestarr1490 Exactly. 1, 2, 3, 4, 5... they all come in very quickly. but 27 dooesn't appear until after the 60th ROW of numbers.

  • @piipecek4960
    @piipecek4960 8 лет назад +24

    What if I take the record holder for the most amount of steps to get to 1, and multiply it by 2? Boom, new record holder!

    • @polyacov_yury
      @polyacov_yury 4 года назад +9

      Then it exceeds the upper bound. 62 million × 2 is 124 million, which is more than 100 million.

    • @wetbadger2174
      @wetbadger2174 4 года назад +6

      Then for being twice as big it only has 1 extra step

    • @official-obama
      @official-obama 3 года назад +1

      @1729 math_blog what if you get an even number by that?

    • @official-obama
      @official-obama 3 года назад

      @1729 math_blog and what if it’s a fraction?

  • @52.yusrilihsanadinatanegar79
    @52.yusrilihsanadinatanegar79 4 года назад +11

    2:36
    I've done checking 10 ^ 100 + 1 on my pc and it still got 1.
    A googol plus one. Down to ONE.

    • @inx1819
      @inx1819 4 года назад

      how many steps?

    • @Quantris
      @Quantris 4 года назад +2

      @@inx1819 It only takes 2173 steps. What's kinda interesting is that 10^100 + 2 and 10^100 + 3 also take this many steps

    • @inx1819
      @inx1819 4 года назад

      @@Quantris yeah I made a program for that as well, it was pretty fun. got the same results

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

    It's amazing how this problem seems so intuitive. That there's just something about the rules that seems so obvious the numbers will tend back to 1, but it's like having the solution on the tip of your tongue. Intuitively it's true, but you can't quite see why, despite the simplicity. I can see why people become obsessed with it.

  • @KevinHosley
    @KevinHosley 8 лет назад +26

    I hope that 7,382,036,203,215,362,117 works! Can someone check? ;)

    • @simonsallen
      @simonsallen 8 лет назад +40

      7,382,036,203,215,362,117 terminates after 492 iterations

    • @KevinHosley
      @KevinHosley 8 лет назад +6

      How in the world did you figure that out so quickly? Wow! I was just fooling around when I said that number.

    • @pablossjui
      @pablossjui 8 лет назад +2

      maybe it programmed something to check it

    • @justaway_of_the_samurai
      @justaway_of_the_samurai 8 лет назад +5

      He probably wrote a program to calculate it

    • @miticander
      @miticander 8 лет назад +24

      Computers are really fast

  • @fyfferguy
    @fyfferguy 5 лет назад +3

    To the OP: What is the source of the graph I see in the "collage" at 2:45? It's the one in the bottom center of the screen with the red dots on white background. This is exactly the data set that I have been playing with since I first heard of this problem in my college days over 25 years ago. I'd never seen the data presented that way before, and then I saw "my" graph in your video! Thanks in advance! (and hopefully someone will see this ... :( )

    • @russellgokemeijer4269
      @russellgokemeijer4269 3 года назад

      I have seen that graph on the Wikipedia page for collate conjecture and I am sure they list a source

  • @maldova
    @maldova 3 года назад

    Isn't this another unintentional asmr video? Professor's voice is so calming

  • @AndrewErwin73
    @AndrewErwin73 7 лет назад +35

    Any counter example would have to avoid any exponent of 2. Doesn't seem possible.

    • @armelstsrt
      @armelstsrt 6 лет назад +16

      If you can prove it isn't possible, then it's interesting, otherwise it's just some "it seems that..." which isn't bringing much more about this problem than what people already know

    • @idontwannanamemychannel8408
      @idontwannanamemychannel8408 6 лет назад +4

      It's possible with a loop, which is the main thing you have to prove. How do you prove no number except 1 ever returns to itself?

    • @awawpogi3036
      @awawpogi3036 6 лет назад

      I don't wanna name my channel i have a proof don't call me a liar

    • @MGmirkin
      @MGmirkin 6 лет назад +1

      Evidence or it never happened...
      "Lawyer, Lawyer!" :P

    • @NoriMori1992
      @NoriMori1992 5 лет назад

      That doesn't follow. There are countably infinitely many positive integers that aren't powers of 2, and the gap between powers of 2 doubles with every power. So avoiding powers of 2 doesn't even rule out a countably infinite sequence of integers that never leads back to 1, let alone a finite loop that doesn't contain 1.

  • @CYXXYC
    @CYXXYC 8 лет назад +4

    Pattern is in binary

    • @Metal_Fingers.
      @Metal_Fingers. 8 лет назад +5

      ayy 420 blaze it.

    • @G34RBOX
      @G34RBOX 8 лет назад +4

      While Binary does make the even number reduction trivial (Just eliminate all 0s on the number's right side until you hit a 1) it doesn't seem to make the 3n+1 step on an odd number very illuminating.
      The only pattern I found in binary is that right before you hit a power of 2, (the third rail referred to in the video) your number has the sequence of 1010101010...101. Something that is, I hope, already demonstrated in that book on the subject.
      So now you can find the solution faster, but the problem is to prove that any binary number will eventually convert to this pattern when eliminating trailing zeroes and converting the number to 3n+1.
      Binary will help grasp the problem, but it won't just solve it right away.

  • @CookieJar2025
    @CookieJar2025 5 лет назад +2

    I've programmed a Collatz Conjecture before. And it shows every number it passes
    It's pretty easy to program especially in Python

  • @Carcharoth313
    @Carcharoth313 4 года назад +11

    When there's a still not understood randomness underlying the Collatz conjecture, couldn't you use that conjecture for encryption purposes / for creating random numbers?

    • @cezarcatalin1406
      @cezarcatalin1406 3 года назад +4

      It’s not exactly the most efficient way of screwing around with cryptanalysts.

  • @willk7184
    @willk7184 4 года назад +4

    This is interesting and all, but I can't for the life of me figure out why it matters.

    • @awebmate
      @awebmate 4 года назад +4

      Solving it will provide a method that may be usable to solve other problems. Solution may tell us something profound about numbers that we didn't know. Math is basically nothing but the logical consequence of the concept of units. Matematicians aren't inventors, they are explorers, exploring these consequences. What to do with it is irrelevant. Fun fact: Electricity was discovered centuries before we knew what to do with it.