Kaprekar's Constant

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 1 тис.

  • @jespervalgreen6461
    @jespervalgreen6461 17 днів тому +366

    Oh, that's a fixed point of an iterative (or recursive) function. That's a beautiful subject, deep and marvelous, and with real world applications. There's a certain temperature and pressure at which water can exist in three phases at once; solid, liquid, and gaseous. That's the triple point of water, and it is, you've guessed it, a fixed point.
    Nature generally does that one thing it knows how, and then it just keeps doing that to whatever comes out, so we should expect to find lots of fixed points. But it's not always just one fixed point. Sometimes it's a pair, where f(x) = y, and f(y) = x; or it's three points, or four, five...
    You've probably seen the Mandelbrot Set, and you may have wondered; "yes, it's beautiful, but what is it really?"
    It's a map, and it's a map of all the fixed points! Since Kaprekar's nice little game has a fixed point, there is a way to map it into the Mandelbrot Set, I don't know how to do it, and I won't be bothered to find out, but in some general sense, appropriately transmogrified, 6174 lives in there.
    And if you were to play this game yourself, you may note that on the way to the fixed point, some numbers pop up more than others, and some may even seem inevitable. And if you were to count the number of ways that you can get to a certain value, that number is a measure of the entropy of that value; that, in a very real sense, is what entropy is. Note that there is nothing random here: everything is deterministic. And yet there is entropy. And if you were to take the (in)famous Riemann zeta-function, which I am not going to write down here, and then replace the ones in the denominator with these entropy numbers, you'll get a Dirichlet L-function, and those tell of deep relations between physics, geometry, and number theory; and the subject of those relations is called Langland's Program. But by now I'm getting out of my depth, and maybe no longer know what I'm talking about.
    Like I said, it's a nice little game, and yet, if you play it right, it is like a sacred key that opens the doors to the universe, that you will finally see it.
    Thank you.

    • @iMíccoli
      @iMíccoli 17 днів тому +15

      Beautiful narrative.

    • @realitycheck816
      @realitycheck816 17 днів тому +24

      How could all of this be a mistake ? Such intelligent design ? Thank you for your detailed comment o stranger

    • @sjain8111
      @sjain8111 17 днів тому +6

      @@realitycheck816 certainly not coincidence some of us believe the lord is all

    • @nabrajpanthi413
      @nabrajpanthi413 16 днів тому +6

      your explanation is interesting😊

    • @vijayramakrishnan2601
      @vijayramakrishnan2601 16 днів тому +8

      what's the real-world application of the Kaprekar constant?

  • @dilipbothara7048
    @dilipbothara7048 17 днів тому +338

    I am fortunate to listen kaprekar sir in my school days

    • @mattdamon2084
      @mattdamon2084 11 днів тому +18

      That guy in thumbnail seems like wearing some Marathi culture clothing!?

    • @sagarn9380
      @sagarn9380 11 днів тому +22

      ​@@mattdamon2084 Because he was!

    • @N0Xa880iUL
      @N0Xa880iUL 10 днів тому +2

      Really? Where?

    • @Dattebayo3089
      @Dattebayo3089 5 днів тому +3

      ​@@mattdamon2084he is😂😊

    • @sunnychekrs7597
      @sunnychekrs7597 3 дні тому +1

      I have learned something new today and it was fun learning.

  • @kulkashish
    @kulkashish 19 днів тому +429

    I have seen him in person. We used to stay @100 m from each other. Simple man, used to walk around with his umbrella. I was school going boy then.

    • @PrimeNewtons
      @PrimeNewtons  19 днів тому +114

      That makes you a part of the history of mathematics.

    • @kulkashish
      @kulkashish 18 днів тому +135

      @@PrimeNewtons he used to stay in a very small room. When he died, all his room was full of mathematical equations, even puzzles were solved on bus tickets also. Very much fond of speed. Always prefers to sit at window seat and just do calculations wrt speeds. I am proud that I came from his town, and had seen him almost everyday.

    • @shilpaagarwal22
      @shilpaagarwal22 15 днів тому +13

      @@kulkashishhow lucky!!

    • @yogeshwarkasture1392
      @yogeshwarkasture1392 14 днів тому +6

      Where he lives in Pune?? Address pls

    • @Lekrishark
      @Lekrishark 14 днів тому +53

      I thought you were going to say, "I lived 6174 ft. from his house" 😂!

  • @_ravindrabhusare_
    @_ravindrabhusare_ 9 днів тому +47

    I’m so unlucky person guys,
    This legend was living in Deolali Gaon and I live almost 5-7 km away from his residence but I never heard about him. I think this is not just my fault it’s also foult of my education system or society!
    Some buddy like this legend with great knowledge in maths but i never heard about him in my hole life.
    This is really so unfortunate thing for me!
    Thanks to Prime Newton who introduced us about this legend!
    Love from India sir! 🇮🇳 ❤

  • @amitp2500
    @amitp2500 13 днів тому +175

    As an Indian I never knew there is something like this. Thanks a loads

    • @yrot1123
      @yrot1123 7 днів тому +1

      Indian knows a lot about the number, that;s why many of them working at the 07-11....LOL

    • @KICK839
      @KICK839 6 днів тому

      Oh wow.
      Expert ​@@yrot1123

    • @user-wv4lq7hm6k
      @user-wv4lq7hm6k 5 днів тому +6

      @@yrot1123 thoughtful comment... feeling proud about your "wit", no doubt

    • @ryanabel002
      @ryanabel002 2 дні тому +4

      Hahhaha indians are the highest earning individuals in usa

  • @DanDart
    @DanDart 19 днів тому +223

    I love how you are so excited to show off something you've discovered and haven't even read everything about it. That's the true spirit of a mathematician!

  • @ashwajeetkamble6962
    @ashwajeetkamble6962 3 дні тому +10

    Being from Maharashtra, i don't know about him and his contribution, thankyou for bringing this 🙏Jai Maharashtra

  • @vectoracademy3992
    @vectoracademy3992 2 дні тому +10

    Revt.Dr.Kaprwker was my Guru... from 1978 to 1981 I had learnt maths of 5 th , 6th,7th standard from this Genius...at that time He lived in Abhinav Bharat ( Swatantravir Sawarkars Resd. ) in Nashik, Maharashtra...he took an annual fees Rs.1 from us ... when he died... India was unaware..BBC gave the bad new...while writing this my eyes are full of tears...The Man Of Simplicity...
    Prof.Raj Sinnarkar, Nashik

  • @shabbirpenkar1943
    @shabbirpenkar1943 16 днів тому +101

    I learnt about Kaprekar constant and Kaprekar Routine back in 1983 when I was learning BASIC programming. It was such a joy to see the steps in the routine and finally reaching Kaprekar constant!
    Thank you for refreshing those memories. And I do love the enthusiasm and passion with which you communicate.

  • @jaydeepshiralkar954
    @jaydeepshiralkar954 11 днів тому +70

    Proud to be Marathi, and Marathi scientists. Thank you for bringing this up 😊

    • @baludojad9289
      @baludojad9289 8 днів тому

      🙌

    • @ppal64
      @ppal64 6 днів тому +5

      What did you do to be Marathi?

    • @bittertruth27
      @bittertruth27 5 днів тому

      Yeah this is new disease these days in indians that do nothing and feel proud...

    • @sanjiv201
      @sanjiv201 5 днів тому

      @@ppal64nothing, he was just born into human family. And you are committing like old fart aunty the moment you see the word Marathi. People are proud to be their mother tongue so keep your fingers to where they belong, yes, that’s your butts..

    • @kshiteejpatil0718
      @kshiteejpatil0718 5 днів тому +5

      Actually marathi is a mother tongue language in India... Marathi speaking people are scattered throughout india but mainly marathi speaking state is Maharashtra...... And Mr. Kaprekar is a marathi man that is his mother tongue was marathi!!!!!

  • @louisevillegas6739
    @louisevillegas6739 12 днів тому +40

    Fascinating! I haven’t been in a math class for 50 years. I can’t wait to share this with my grandchildren. What a fun math concept! ❤

  • @rajanrg
    @rajanrg 18 днів тому +99

    Afro Bro. More than that Kaprekar's constant your romantic pronounciation and english flavour are exciting. I loved your teaching sir. My salute and by touching your feet and spirit. Thanks from India.

    • @nripensaha2210
      @nripensaha2210 9 днів тому +2

      You are a true AH, should not bring race in every breath

    • @YashVardhan_Singh_Rathore.
      @YashVardhan_Singh_Rathore. 8 днів тому

      True ​@@nripensaha2210

    • @nmg1909
      @nmg1909 8 днів тому +8

      ​@@nripensaha2210Funny you! Why shouldn't him bring admiration to race of the teacher's spoken accent.

  • @PierrePage-wj2ii
    @PierrePage-wj2ii 17 днів тому +105

    I love your contagious playful enthusiastic energy! In Peace and Friendship,
    Pierre Pagé

  • @shantanu12781
    @shantanu12781 7 днів тому +18

    Wow! I am a Maharashtrian and had never heard of this math genius. Thank you for re-introducing this to the world.

    • @bittertruth27
      @bittertruth27 5 днів тому +1

      Please for GOD sake ,please come out of bubble and say once that i am indian....if you feel first Maharashtrian or any other caste then you will never feel indian...i hope you will get this...

    • @Dattebayo3089
      @Dattebayo3089 5 днів тому +2

      ​@@bittertruth27the day u say indian. Hindi states ppl mean north indian overlook u. Cuz according to north India India means Hindi. Even they also don't know Hindi is not their language. They lost their language due to Hindi.

    • @akashdeshmukh116
      @akashdeshmukh116 2 дні тому

      @@Dattebayo3089 true...👍👍..

  • @sovietwizard1620
    @sovietwizard1620 19 днів тому +362

    I ran a python program to figure out how many times it takes for all numbers between 1000 and 9999 and it's true that 7 is the max. 9004, 9005, 9006 are examples of consecutive numbers with all 7 times. Same with 9015, 9016, and 9017.

    • @vadimbe9783
      @vadimbe9783 19 днів тому +36

      I also wrote a Python program - looks like there are 1980 four digit numbers which require 7 iterations, the smallest being 1004 and the largest 9985

    • @juangalton999
      @juangalton999 19 днів тому +7

      Javascript programmer here. But would you mind sharing your git? I am very interested in learning more maths myself snd contributing to it.

    • @abl1699
      @abl1699 19 днів тому

      ​@@juangalton999 Try it yourself. It's easy. Just some looping.

    • @renyxadarox
      @renyxadarox 19 днів тому

      @@vadimbe9783 the smallest is 0014. And 3 consecutive numbers with all 7 steps:
      0014 -> 4086 -> 8172 -> 7443 -> 3996 -> 6264 -> 4176 -> 6174 (7 steps)
      0015 -> 5085 -> 7992 -> 7173 -> 6354 -> 3087 -> 8352 -> 6174 (7 steps)
      0016 -> 6084 -> 8172 -> 7443 -> 3996 -> 6264 -> 4176 -> 6174 (7 steps)

    • @YaronDerFuchs77
      @YaronDerFuchs77 18 днів тому +6

      @@vadimbe9783 Nice, that's correct for n >= 1000, but for n >= 1 (padded with leading zeros, e.g. by f'{n:04d}'), you will get 2184 numbers. Anyways the longest list of numbers is received for a target of 3 iterations (2124 for n >= 1000 and 2400 for n >= 1).

  • @paulreddy3851
    @paulreddy3851 13 днів тому +18

    I'm an engineer. I wish I had a teacher like you in my maths class. It was a struggle but I eventually got there. To all those people struggling with maths do not be afraid to ask for help. Keep up the good work brother.

    • @scind2585
      @scind2585 3 дні тому

      I agree. He is amazing. From old retired PhD engineer.

  • @mosesmuchina1308
    @mosesmuchina1308 19 днів тому +95

    Delighted.
    I have never heard of Kaprekars constant.
    Thanks.

    • @Universum6174
      @Universum6174 15 днів тому

      This number is in you, in time and more, I invite you to see Universum 6174

  • @pradyumnamahajan3756
    @pradyumnamahajan3756 11 днів тому +9

    THANK YOU for sharing in such a nice and engaging way! Too good! I attended a short lecture by Mr. Kaprekar in Mumbai in 1983 (or '84), where he illustrated amazing properties of palindromic numbers. I was 15 then, and was one of the award recipients from Mr. Kaprekar in that very event, for finishing among the top 3 in a secondary-school level mathematics competition held at Mumbai's Nehru Planetarium. I not only enjoyed your video but also reminisced such a great event in my life!

  • @Jeremy-i1d
    @Jeremy-i1d 19 днів тому +67

    Thank you for another wonderful and blessed video.
    I had not heard of Kaprekar's constant until now, so thank you for helping me to never stop learning.
    I think a proof (improved from an earlier version by reducing the number of cases) of the result that a unique invariant under the Max-Min process exists and equals 6174 goes like this.
    Label the 4 digits of the number N chosen as a4, a3, a2 and a1 in order from largest to smallest (the all equal case is excluded).
    Then the max and min numbers that can be formed from its digits are
    Max = 1000a4 + 100a3 + 10a2 + a1
    Min = 1000a1 + 100a2 + 10a3 + a4.
    Hence
    Max-Min = 1000(a4-a1) + 100(a3-a2)+ 10(a2-a3) + (a1-a4).
    The latter two coefficients are non-positive, so "carry" to rewrite this expression as
    Max-Min = 1000(a4-a1) + 100(a3-a2-1) + 10(a2--a3+10-1) + (a1-a4+10).
    Hence Max-Min = abcd where
    a = a4-a1
    b = a3-a2-1
    c = a2-a3+9
    d = a1-a4+10
    denoted equations (1)
    unless a3=a2, in which case b above is negative and hence invalid and must be replaced with a3-a2-1+10 by carrying from a, which reduces to a4-a1-1. Note that c and d are always non-negative because both a2-a3 and a1-a4 are at least -9.
    a4, a3, a2 & a1 are now redefined as the 4 digits of the number abcd in order from largest to smallest, and the Max-Min process repeated. Note that they cannot all be equal again because a=d requires a4-a1=5, b=c requires a3-a2=5 and hence a=b requires 5=5-1=4, contradiction. And in the case where b is replaced by carrying from a, a=d requires a4--a1=11/2, contradiction.
    Note that when a3>a2 so that b above is non-negative and hence does not need to be replaced by carrying from a
    a+d=10
    b+c=8
    a>b because a4-a1 is at least as large as a3-a2, and
    c > or = d-1 for the same reason
    denoted conditions (2).
    Because it is invariant under the Max-Min process, the only possibilities for Kaprekar's constant are as follows.
    First note the possibility that its a3=a2 is excluded because if that was so:
    b = a3-a2-1+10 = 9, from which it follows that its a4=9
    a = a4-a1-1 = 8-a1
    c = a2-a3-1+10 = 9, from which it follows that its a3=9 and hence also that its a2=9
    d = a1-a4+10 = a1+1
    Hence the constant could only be:
    a1-999 where a1 = 8-a1 hence a1 = 4 and a1+1=9, contradiction. or
    999-a1 where 9=8-a1 hence a1=-1, contradiction.
    Hence its a3>a2.
    Next note the inequality c > or = d -1 in conditions (2) is in fact strict because c = d-1 iff a4-a1 = a3-a2 iff a4=a3 and a2=a1 iff the constant has the form a3a3a2a2. But this and the second of equations (1) then mean a3 = b = a3-a2-1 hence a2=-1, contradiction.
    Hence c > d-1 hence c > or = d.
    This strengthened inequality, together with the inequality a>b in conditions (2), then mean the only possibilities for the constant are:
    Case 1: a4a3a2a1
    Case 2: a4a2a3a1
    Case 3: a4a1a3a2
    Case 4: a3a2a4a1
    Case 5: a3a1a4a2
    Case 6: a2a1a4a3
    where a4, a3, a2 & a1 satisfy equations (1).
    All cases lead to a contradiction except Case 5, which yields the result 6174.
    Case 1: a3=b=a3~a2-1 hence a2 = -1, contradiction.
    Cases 2 & 4: a1=d=a1-a4+10 hence a4=10, contradiction.
    Case 3: a4=a=a4-a1 hence a1=0
    a1=b=a3-a2-1 hence a3=a2+1
    a3=c=a2-a3+9 hence 2a3=a2+9
    Hence 2a2 +2 = a2+9 hence a2=7
    a2=d=a1-a4+10 hence a4=3 < a2, contradiction.
    Case 6: a2=a=a4-a1 hence a4=a1+a2
    a1=b=a3-a2-1 hence a1+a2=a3-1
    a4=c=a2-a3+9 hence a3+a4=a2+9
    a3=d=a1-a4+10 hence a4=a1-a3+10
    Substituting for a4 from the first equation into the last two equations gives
    a3+a1+a2=a2+9 hence a1+a3=9
    a1+a2=a1-a3+10 hence a2+a3=10
    Hence the second equation gives 9-a3+10-a3= a3-1 hence 3a3 = 20 hence a3=20/3, contradiction.
    Case 5: a3=a=a4-a1 hence a4=a1+a3
    a1=b=a3-a2-1 hence a1+a2=a3-1
    a4=c=a2-a3+9 hence a3=a2-a4+9
    a2=d=a1-a4+10 hence a4=a1-a2+10
    Substituting for a4 from the first equation into the last two equations gives
    a3=a2-a1-a3+9 hence 2a3=a2-a1+9
    a1+a3=a1-a2+10 hence a3=10-a2
    Hence 20-2a2=a2-a1+9 hence 3a2=11+a1
    Hence the second equation gives a1+a2=9-a2 hence 2a2 = 9- a1
    Hence 27-3a1 = 22+2a1 hence 5a1=5
    Hence a1=1, a2=4, a3=6, a4=7.
    Hence Kaprekar's constant = a3a1a4a2 = 6174.
    Again, thank you for your lovely videos and i look forward to seeing the next one. God bless you ❤

    • @bentleyhealthcarepvtltdben2332
      @bentleyhealthcarepvtltdben2332 16 днів тому +1

      Man, you are good

    • @guruvarul
      @guruvarul 16 днів тому +1

      Very elaborate working. Is this the way mathematicians really work .Oh my God.

    • @ganpatraogole7896
      @ganpatraogole7896 15 днів тому +4

      Mind boggling! True logical, mathematical mind . Hats off for proving 6174 is constant other way 😊

    • @vipulrane2902
      @vipulrane2902 11 днів тому +2

      My brain cannot handle your comment

    • @vladisioan6927
      @vladisioan6927 20 годин тому +1

      Felicitări pentru democrație. ❤

  • @oli1181
    @oli1181 19 днів тому +50

    Maths is full of wonder but you also bring joy, and that’s how the love of something so important can spread. Thank you!

  • @lauraspencer9855
    @lauraspencer9855 11 днів тому +32

    "Recreational Mathematician" sounds so much better than "retired math teacher". Thank you for this wonderful spin.

  • @UnKnown-xs7jt
    @UnKnown-xs7jt 15 днів тому +14

    According to Wolfeam & Wikipedia
    Consider an n-digit number k. Square it and add the right n digits to the left n or n-1 digits. If the resultant sum is k, then k is called a Kaprekar number. For example, 9 is a Kaprekar number since
    9^2=81 8+1=9,
    and 297 is a Kaprekar number since
    297^2=88209 88+209=297.

  • @noomade
    @noomade 19 днів тому +131

    That writing is so clean

    • @special-delivery
      @special-delivery 18 днів тому +1

      fr

    • @bipolarbear7325
      @bipolarbear7325 18 днів тому +3

      I'm pretty sure it's because he's a robot. Or an Alien... I haven't figured that out yet. Honestly, I'm waiting for him to tell me.

    • @noomade
      @noomade 18 днів тому

      @@bipolarbear7325 🤖👽

  • @davidwhiteley3879
    @davidwhiteley3879 14 днів тому +5

    Your enthusiam is infectious! Your motto is fabulous - Never Stop Learning. I'm 63 and people think I'm nuts because I am alway learning something new. These things I learn will probably never be used - except of the wonder of I my learning it. AND THAT IS MORE THAN GOOD ENOUGH. I am thrilled to be a new subcriber to your channel.

  • @Fuckyoutube-gz6gu
    @Fuckyoutube-gz6gu 17 днів тому +21

    I gotta love this man - so much enthusiasm, so much involvement, he makes science fun! And this is the greatest service one can do to science. Thank you so much for this presentation, truly brilliant!

  • @contemporarymatters8106
    @contemporarymatters8106 18 днів тому +16

    I love the energy and joy you bring into the subject.

  • @herbertsusmann986
    @herbertsusmann986 20 днів тому +99

    There is another famous Indian mathematician who was largely self-taught: Ramanujan. He did amazing things with repeating fractions and much much more. He went to England to study further but sadly died very young. Perhaps you could talk about something he solved in one of your videos?

    • @jceepf
      @jceepf 20 днів тому +7

      Boy : tons of stuff,,,,, even not yet proven!

    • @AJ-io5xd
      @AJ-io5xd 20 днів тому

      ​@@jceepf will never be proven by anyone, for that we will need to search for another ramanujan from india.

    • @siraj_a.r.411
      @siraj_a.r.411 19 днів тому +5

      Yeah i would love a video on Ramanujan 's paradox

    • @Kmathaddict
      @Kmathaddict 19 днів тому +5

      Really

    • @dileepmv7438
      @dileepmv7438 18 днів тому

      But not about the infinite sum of natural numbers. Everybody know it’s bullshit still speaking about it only because it was from Ramanujan

  • @TheInsaneTimes
    @TheInsaneTimes 9 днів тому +3

    I am from Maharashtra, I am Marathi and yet I had never heard about him before.. thanks for introducing him, the constant theory is interesting

  • @Theobob
    @Theobob 16 днів тому +11

    Thank you.
    I showed the whole family.
    Messed it up first,but got it right 2nd time.
    Collective amazement!

  • @tonymadathil816
    @tonymadathil816 13 днів тому +7

    Your classes are so therapeutic and I have never seen anyone who draw a perfect straight line on board like you do..bravo..🎉

    • @brucelytle1144
      @brucelytle1144 12 днів тому

      I can't seem to be able to draw one with a straitedge! 😅

  • @lesnyk255
    @lesnyk255 20 днів тому +38

    I love it! Now I want to write a program hack to search the n-digit numbers for their endpoints and rates of convergence..... Thanks for the tip!

    • @jahbini
      @jahbini 18 днів тому +1

      And can it work in different bases? and ...

    • @linuxificator
      @linuxificator 18 днів тому +1

      Would be interesting to see how that works in binairy. Maximum and minimum only depend on the total number of ones and total number of zeros. I wonder if it can be generalized for any base and any size analytically. And I have to figure out how it works in balanced ternary!

    • @kilroy1964
      @kilroy1964 17 днів тому

      ​@@jahbiniThe biggest and smallest numbers generally won't be the same in other bases. They may not even have the same number of digits.
      There might be other constants in other bases though.
      Nice idea!

  • @hassanalihusseini1717
    @hassanalihusseini1717 19 днів тому +20

    That is quite amazing. I never heard about that constant before.
    And: You have a very clear and beautiful hand writing. I think one of the best on UA-cam!

  • @timhourigan6257
    @timhourigan6257 15 днів тому +5

    Humans are essentially curious by nature. You help to bring out the curiosity and wonder in all of your videos. Bravo, sir! Take a bow!

  • @chirilas5217
    @chirilas5217 17 днів тому +12

    Excellent lesson professor. I had no idea about this mathematical ‘wonder’.👏👏👏👏

  • @Circumsquare
    @Circumsquare 12 днів тому +6

    O wooooow....!!!!
    I am from Mumbai, India but I wasn't aware of this fact .
    Great to know about a great Maharashtrian mathematician.

  • @walterfristoe4643
    @walterfristoe4643 18 днів тому +24

    Finally, a math teacher who can write legibly! Too many math people don't write very well, so it's often hard to tell exactly what it is that they've written. 👍

    • @MrZoomZone
      @MrZoomZone 16 днів тому

      ...especially when greek letters suddenly come out to play but you don't know their names, or have trouble remembering them all and the upper and lower cases, grrr!

    • @duku3535
      @duku3535 15 днів тому

      Started with 2438. It took 8 steps =4176. Thanks for sharing.

    • @amitpatilamit
      @amitpatilamit 11 днів тому

      ​@@duku3535
      1. 8432-2348=6084
      2. 8640-0468=8172
      3. 8721-1278=7443
      4. 7443-3447=3996
      5. 9963-3699=6264
      6. 6642-2466=4176
      7. 7641-1467=6174
      Took me 7 steps, not 8.

  • @navinbhalani5505
    @navinbhalani5505 19 днів тому +7

    A wonderful maths game i never new this gentle man who invented this constant is from my country. And you are a good teacher

  • @sparshsharma5270
    @sparshsharma5270 20 днів тому +14

    I came to know about Kaprekar's constant couple of years back.
    Thank you for covering this art of mathematics.
    Also, if I remember correctly, Numberphile made a video about most iterations required for a number to reach 6174 or like that.

  • @52n1
    @52n1 17 днів тому +4

    You are a very inspirational teacher. Your enthusiasm for your subject shines through.

  • @aniltuli5860
    @aniltuli5860 15 днів тому +2

    Gentleman the way and excitement with which you teach... am very sure the students who love mathematics must be madly in love with the subject...
    God bless young man... _May all teachers of the world become like you..._
    🙏

  • @BRUBRUETNONO
    @BRUBRUETNONO 17 днів тому +4

    Thanks for enlighting this very interesting subject.
    I made a few tests on an excel sheet with 2, 3 and 5 digit numbers by curiousity and got the interesting following results !
    I hope you like my inquiry and study, tell me if you like it !
    >For 2 digit numbers, the Kaprekar iteration process doesn't converge, but gives a cyclic set of following numbers after 7 iterations max:
    9, 81, 63, 27, 45 and 9 again and so on.
    >For 5 digit numbers, the Kaprekar iteration process doesn't converge, but has got a different constant value (depending on the intial value) repeated every 4 iterations.
    The periodic behaviour seems to appear after 8 interations max.
    >And last, with 3 digit numbers, the Kaprekar iteration process converges towards the value 495 and seems to after 7 interations max.
    To finish with my post. There is a trivial result to be mentioned: The Kaprekar iteration process gives 0 as result for all intial numer having the same value for all digits.
    For example, 2222 gives 2222 as "max" and "min" so the there difference is 0.
    Greetings and keep up the good work !

  • @tobyaughnotobi3919
    @tobyaughnotobi3919 15 днів тому +5

    Interesting that. I've personally never heard of Kapreka's Constant so thanks for introducing me to this phenomenon.

  • @adamgriss2025
    @adamgriss2025 15 днів тому +3

    I’ve spent the las forty years of my life hating math with a passion, yet this video has done the impossible, it’s gotten me interested in math!

  • @renesperb
    @renesperb 19 днів тому +4

    A very interesting result.I tried it on some random four digit number , and after a few steps I reached Kaprekar's constant.

  • @Proctophile
    @Proctophile 20 днів тому +22

    Set Theory + Number Theory = Magic

  • @fanmade2065
    @fanmade2065 День тому

    Mathematics scares me, but your calmness is so inviting that it has actually sparked a curiosity in me about math. Teaching is an art, and you, sir, are an artist.

  • @lightluxor1
    @lightluxor1 20 днів тому +10

    Man, you are the best. I love your lessons.

  • @HarryTwoDogs
    @HarryTwoDogs 14 днів тому +1

    Charming presentation. And fun. Thanks from an old engineer. My dad used to joke "You learn something new every day if you're not careful!"

  • @samstvshow
    @samstvshow 19 днів тому +11

    A recreational genius.

  • @alkwti
    @alkwti 19 днів тому +40

    i made a model in excel using the formula "=VALUE(CONCAT(SORT(MID(A1,SEQUENCE(LEN(A1)),1),,1)))" and "=VALUE(CONCAT(SORT(MID(A1,SEQUENCE(LEN(A1)),1),,-1)))"i run it from 1000 to 9999 , it was fun to see which numbers to reach 7 times

    • @MahipalSingh-nv1bq
      @MahipalSingh-nv1bq 17 днів тому +5

      good sir

    • @tinkerphil
      @tinkerphil 14 днів тому +4

      I wonder if you can create an X, Y graph of the results that shows the number of steps it takes to get there - perhaps showing points of different colours according to the number of steps to get to 6174 - EG 1 step = red, 2 = orange, 3 yellow etc. I wonder what that would look like?

  • @bobhenson1433
    @bobhenson1433 18 днів тому +5

    From one who loves unique math problems, this is instructive and fun. Works with 495,too, just use any 3 digit number.
    Thanks for introducing me to something new. I am passing it on. One 7th grade relative likes it and said he’ll show it to his math teacher tomorrow.

  • @ghanshyam2214
    @ghanshyam2214 15 днів тому +1

    I am so excited, it is wonderful. Express how a great mathematician searched and concluded.

  • @DebjaniSaha-x5l
    @DebjaniSaha-x5l 20 днів тому +9

    Absolutely delighted to find inspiration that, would fuel my liking for numbers.

  • @goabuoy
    @goabuoy 11 днів тому

    randomly came across this video n was happy to see another maths teacher with such enthusiasm- the first one was my 5th grade math teacher!! hugs from India!!

  • @justwanderin847
    @justwanderin847 17 днів тому +3

    just found this young man, very clear explanation! Cool.

  • @anu3798
    @anu3798 4 дні тому

    Coolest mathematics teacher.... Thank your sir for teaching something new... I belong to the state of kaprekar sir and now i m wondering why this theory was not in our school syllabus... This is the first time i am getting to hear about kaprekar constant...
    Thank you sir for teaching something new..

  • @kianushmaleki
    @kianushmaleki 19 днів тому +5

    Interesting and unexpected
    BTW, you have a very beautiful handwriting and beautiful smile.
    I love watching your videos

  • @daveluttinen2547
    @daveluttinen2547 18 днів тому +2

    Making math fun benefits everyone, I love your enthusiasm and really enjoyed learning this today. Thank you!

  • @sathyanarayanb.8638
    @sathyanarayanb.8638 19 днів тому +4

    Learnt something new today. Thanks for the video

  • @kensmith8420
    @kensmith8420 14 днів тому +1

    I wish you had been my maths teacher ....your enthusiasm would have made the subject I loathed most exciting and interesting.... You are so likeable ....

  • @agranero6
    @agranero6 19 днів тому +12

    You don't need to prove it in a sophisticated way: there are just 10000 numbers just test them all. If you design a network of numbers, a graph with arrows (an oriented graph) from each number to the one applying this rule you will get a net where following the arrows you always get there.
    *And doesn't work with any numbers: for all numbers that have repeated 4 digits it will after one iteration give 0000* : 1111, 2222, etc. So the graph is not connected: it has two connected parts one that all arrows end in the Kaprekar constant and other where ll arrows end in 0000.

  • @user-vx4hp4nz1u
    @user-vx4hp4nz1u 16 днів тому +2

    I am from India. I am not a big fan of Mathematics. However seeing the video title I got curious. It is simply amazing...
    (Because being an Indian whenever we think of Maths we only recollect Ramanujam a great wizard of Mathematics).

  • @user-wl4zu2ok1e
    @user-wl4zu2ok1e 19 днів тому +6

    Congrats on 200K! 🥳🥳🎉

  • @zyzyx1111
    @zyzyx1111 5 годин тому +1

    Thanks man for spreading Kaprekarji's work ✌

  • @thewarlord8904
    @thewarlord8904 20 днів тому +73

    I also noticed that in every thing I tried 8532 also appeared is that a thing or am I missing something

    • @romanglinnik8073
      @romanglinnik8073 20 днів тому +11

      Yeah I noticed that as well. Both numbers consist of even and odd numbers in an alternating order. So there should be more such numbers I suppose and not only limited to subtraction. Number patterns are everywhere in nature so this ain't surprising. But still cool as heck.

    • @alex_ramjiawan
      @alex_ramjiawan 20 днів тому +4

      Perhaps it's a coincidence, especially considering for the first example he introduced it, it wasn't produced like in the second. This would of course require further experimentation and research.

    • @enerjae7174
      @enerjae7174 20 днів тому +19

      7325 --> 5175 --> 5994 --> 5355 --> 1998 --> 7993 --> 6174
      It's important to note that any permutation of the numbers listed above also won't contain 8532 in their sequence. That being said, I just chose a 4-digit number at random and could've gotten lucky, so 8532 could still be common.

    • @proisborn
      @proisborn 20 днів тому +2

      4176 too

    • @sciphyskyguy4337
      @sciphyskyguy4337 20 днів тому +16

      If 6174 is a terminal node on the process graph, then any nodes that lead to it will show up more often in the process.

  • @govindmenon101
    @govindmenon101 2 дні тому

    Happy to see someone admire the beauty of mathematics. Love from India, brother.

  • @hba12
    @hba12 20 днів тому +96

    and you reach 495 for 3 digits number
    and for all 2 digit numbers except for repeating numbers, the end product will be 9.
    6174 and 495 are multiples of nine.
    so the sequence of numbers produced are always multiples of nine.
    this is an artifact of how our numeric system works - each base has its own Kaprekar numbers and they are all related to the terminating digit of that base.

    • @pault726
      @pault726 20 днів тому +3

      Curiously, the prime factorization of these three constants result in exactly two 3's, among other primes. Also, this doesn't work for four identical digits.

    • @udaramalam7348
      @udaramalam7348 19 днів тому +2

      For any digit? Proof?

    • @hokie6384
      @hokie6384 19 днів тому

      All the digits add up to 9.
      6174 … 6+1=7 …7+4 = 11 …11+7 = 18 … 1+8= 9
      495… 4+5 = 9 … 9+9= 18 …1+8= 9
      😎

    • @Dalroc
      @Dalroc 19 днів тому +14

      9 will give you 90-09 = 81, which then gives 81-18 = 63 followed by 63 - 36 = 27.
      Now 72-27 = 45 leads us to 54 - 45 = 09 and we're back where we started.
      We don't have a "end product", we have a loop.

    • @Speedrunner.007
      @Speedrunner.007 19 днів тому +1

      @@Dalroc same with 6174 innit? as shown in the video

  • @jpl569
    @jpl569 9 днів тому +2

    Actually, studying the numbers XY00 with X≥Y (with the help of Excel…), I found that 4100, 5100, 5200, 6100, 8500, 9400, 9500 and 9600 were the numbers of this kind needing 7 steps.
    Funny enough, 6200 goes directly to 6174 (in 1 step), and is the only one of the kind.
    Thanks for your interesting videos !

  • @michaelvelik8779
    @michaelvelik8779 19 днів тому +7

    I suspect that 6174 is specific to base ten, other bases will likely have other numbers with this property.

    • @lornacy
      @lornacy 17 днів тому +2

      I was wondering about this too 😊

  • @stevekilligrew788
    @stevekilligrew788 17 днів тому +1

    Every day I go to school, any thnx, clarity, curiosity & enthusiasm = magic! Great stuff mate! New subscriber!

  • @markcbaker
    @markcbaker 20 днів тому +30

    That’s my PIN code 😮

  • @crc2737
    @crc2737 11 днів тому +2

    I never heard this number. Thanks for your energetic teachings.

  • @MrHichammohsen1
    @MrHichammohsen1 19 днів тому +3

    Thank you for teaching us and everythinng you do!

  • @Ramani-f1z
    @Ramani-f1z 16 днів тому +2

    Wow! Loved your neat and beautiful handwriting, use of traditional board and chalk, and of course the way you explained 🙏🏼

  • @LemoUtan
    @LemoUtan 19 днів тому +3

    Try to draw a directed graph (vertex/edge kind, not the plot) with all 1000 numbers as vertices and arrows pointing to the next vertex. Maybe start with two digit numbers to try the idea out first.

  • @Rich-r7f
    @Rich-r7f 12 днів тому

    Sir, I love your dramatic pauses, and your smile when teaching the subject. It is so infectious and fun to watch. 👍🏼🙏🏼

  • @Kmathaddict
    @Kmathaddict 19 днів тому +3

    I really noticed this 8532 everywhere when trying haha sir you are a legend ✅✅✅✅✅✅✅

    • @HFendel
      @HFendel 14 днів тому +1

      I also noticed it. It's different than 6174 in that 8352 leads to 6174 and not the opposite, but still, it's fascinating in almost the same way.

  • @dailyhealthmotivation7079
    @dailyhealthmotivation7079 8 днів тому +1

    It's simplicity of Vedic Mathematics where one plays with Number...
    And becomes Ganitanand or Recreational Mathematician

  • @SlimThrull
    @SlimThrull 19 днів тому +3

    I'm now curious if this works in other bases as well. I'd imagine it would have to. Might have to test this out.

  • @VjUmar
    @VjUmar 8 днів тому

    I never seen a video for maths, but today youtube suggested this video and i watched. its really a mind blowing fact and good to know. thanks to the creator of this video

  • @hokie6384
    @hokie6384 19 днів тому +4

    All the digits add to 9 for 2, 3 and 4 digit numbers.

  • @rajendrajasathy4356
    @rajendrajasathy4356 11 днів тому +1

    Even I am learning this for the first time, though I learned maths for 14 yrs....but never learned this in any textbook.....quite interesting.

  • @shlokthosar8094
    @shlokthosar8094 20 днів тому +9

    Wonderful ❤❤

  • @dimwittedhuman3044
    @dimwittedhuman3044 2 дні тому

    Beautiful!! ❤❤❤Makes me proud as an Indian and I haven't even heard about this!!

  • @rogerkearns8094
    @rogerkearns8094 20 днів тому +7

    18 times (7 cubed) - its being such a cube multiple seems slightly weird in itself.

    • @KeithAllen-pg8ep
      @KeithAllen-pg8ep 18 днів тому +3

      .... and the sum of the digits is 18, the difference between *these* digits being 7.

  • @SudhirRaja23
    @SudhirRaja23 8 днів тому

    Amazing! Thank you for introducing me to this concept. Truly fascinating. I used to hate Maths at school but am absolutely in awe of it now. Thanks for the video and stay happy.

  • @anandarunakumar6819
    @anandarunakumar6819 19 днів тому +4

    There is a Fibonacci set 2,3, 5 and 8. Wondering if this is another coincidence.

  • @sameermansour1659
    @sameermansour1659 19 днів тому +1

    Every thing is great about you man !
    Your explanation , your writing , your conversation , thanks alot sir .

  • @mmfpv4411
    @mmfpv4411 20 днів тому +6

    are there analogues of this number for different numbers of digits?

    • @PaulMiller-mn3me
      @PaulMiller-mn3me 20 днів тому +3

      Also in other bases. Is this just a quirk of base 10 ?

  • @nirjharrajawat2222
    @nirjharrajawat2222 11 днів тому

    Very happy that you made a video on it Kaprekar was a school teacher but his love for mathematics is worth commendable

  • @Etothe2iPi
    @Etothe2iPi 20 днів тому +9

    Wolfam Alpha says it takes at most 8 iterations.

    • @PrimeNewtons
      @PrimeNewtons  20 днів тому +10

      What number did you use? That would be a major breakthrough.

    • @user-wl4zu2ok1e
      @user-wl4zu2ok1e 20 днів тому +2

      Impossible. Here is a script created in JavaScript that proves that the max amount of iterations is 7.
      function kaprekarSteps(t){let e=0;for(;6174!==t;){let r=t.toString().padStart(4,"0");if(e+=1,0===(t=parseInt(r.split("").sort((t,e)=>e-t).join(""))-parseInt(r.split("").sort().join(""))))return 1/0}return e}function generateKaprekarReport(){let t=[];for(let e=0;e"Does not reach 6174"===t.steps?1:"Does not reach 6174"===e.steps?-1:e.steps-t.steps);let e=t.map(t=>`${t.number}: ${t.steps} iterations`).join("
      ");console.log(e)}generateKaprekarReport();

    • @glorrin
      @glorrin 20 днів тому +10

      I wanted to make sure so wrote a program to check every numbers from 0001 to 9998
      and there are 2184 numbers which takes 7
      but 0 takes 8

    • @icetruckthrilla
      @icetruckthrilla 20 днів тому +2

      I saw that too and I couldn't find a number mentioned; after doing a Google search, i read somewhere that in certain bases (ie 13) it might take 8 iterations; if there is a base 10 number that takes 8 iterations I haven't seen it

    • @icetruckthrilla
      @icetruckthrilla 20 днів тому +3

      with 5 digits this whole process breaks down because it either leads to 0 or apparently one of ten numbers

  • @nicoc6387
    @nicoc6387 10 днів тому

    Not only have you broadened my mind, you have taught me a new way to do 9s.

  • @oldmoviesincolored
    @oldmoviesincolored 20 днів тому +3

    badhiya bhai

  • @drmahaCroc9164
    @drmahaCroc9164 15 днів тому +1

    I was positive amused by the constant but even more by your handwriting!

  • @masonskiekonto590
    @masonskiekonto590 20 днів тому +3

    You say you cannot prove it but the domain of the problem is just 4-digit numbers, you can just write a script to exhaust the domain and be done.

    • @childrenofkoris
      @childrenofkoris 20 днів тому

      i could do it, but i just dont see any point on having it...

    • @gerardvanwilgen9917
      @gerardvanwilgen9917 20 днів тому +2

      @@childrenofkoris I understand that. Proof by exhaustion would give no insight at all as to why this constant exists.

  • @p.jhodeflea789
    @p.jhodeflea789 15 днів тому +1

    I like these special numbers. At first sight, nothing particular and yet... I should never have found the property of this one

  • @RyanLewis-Johnson-wq6xs
    @RyanLewis-Johnson-wq6xs 20 днів тому +7

    The number 6174 is known as Kaprekar's constant[ 1][ 2][ 3] after the Indian mathematician D. R. Kaprekar. This number is renowned for the following rule: Take any four-digit number, using at least two different digits (leading zeros are allowed).

  • @vidulagujjarwar4719
    @vidulagujjarwar4719 9 днів тому

    I am proud to say that legendary Kaprkar sir is from my hometown Nashik, Maharashtra state India

  • @abnertv22
    @abnertv22 19 днів тому +3

    ive got a crazy conspiracy theory what if its all pointing to the tear 6174 💡💡💡💡

  • @kevinferrin5695
    @kevinferrin5695 18 днів тому +1

    I love your big smile that shows how much you enjoy the subject.