Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
michael_nielsen's profile
michael_nielsen
michael_nielsen
michael_nielsen
@michael_nielsen

Tweets

michael_nielsen

@michael_nielsen

Searching for the numinous. Co-purveyor of https://quantum.country/ 

San Francisco, CA
michaelnielsen.org
Joined July 2008

Tweets

  • © 2019 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      What about words of length III? Well, we can just enumerate again: AAA, AAB, AAC, ...., AAZ, ABA, ABB, ... ABZ. Keep going, you get to BAA, BAB. And so on. It's not too difficult to see the answer is 23 x 23 x 23.

      1 reply 0 retweets 8 likes
      Show this thread
    2. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      Unfortunately, 23 x 23 x 23 (= 12,167) was starting to stress the roman numeral system. They had ways of dealing with such numbers, but it got pretty convoluted. The system was mostly designed to work up to a few thousand.

      1 reply 0 retweets 11 likes
      Show this thread
    3. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      The reason was that the basic strategy behind roman numerals is to keep introducing new symbols as you get to larger and larger numbers. That's okay for a while, but eventually breaks down.

      1 reply 0 retweets 15 likes
      Show this thread
    4. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      So a curious thing about the word-counting problem is that you get large numbers of different possible words, without needing to introduce new symbols. That's interesting if you've been bugged by the need to introduce new symbols to describe large numbers.

      2 replies 0 retweets 19 likes
      Show this thread
    5. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      It's also interesting that you get very large numbers of different possible words, even with very short strings.

      3 replies 0 retweets 6 likes
      Show this thread
    6. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      Now, if you were playful, you might wonder a bit about using strings of letters to _represent_ numbers. One way would be to identify I with A, II with B, and so on, through XXIII -> Z.

      1 reply 0 retweets 8 likes
      Show this thread
    7. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      You could just continue from there: XXIV -> AA. XXV -> AB, and so on. Symbolically: yz -> y*23 + z, where y and z are just single letters.

      1 reply 0 retweets 4 likes
      Show this thread
    8. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      Of course, this isn't notation the romans would have used. But the ideas - multiplication, equality, addition, are all things the romans understood. It's not too far a stretch.

      2 replies 0 retweets 5 likes
      Show this thread
    9. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      What about with three digits? Well, with two digits you get up to 23+23*23. So we have: xyz -> x*(23+23*23)+y*23+z. I must admit, that seems slightly ugly to me, and it gets uglier with longer words.

      2 replies 0 retweets 4 likes
      Show this thread
    10. michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      Let's try something slightly different - a tad less obvious, but also prettier. Let's imagine that instead of numbers of variable length, we have just a single universal counter, starting at: .....AAAAAA

      2 replies 0 retweets 4 likes
      Show this thread
      michael_nielsen‏ @michael_nielsen Sep 18
      • Report Tweet

      We increment by 1 and get to: ...AAAAAB. And then by 1 more and get to: ...AAAAAC. And so on.

      1:41 PM - 18 Sep 2019
      • 3 Likes
      • @micahstubbs Ian Hines
      1 reply 0 retweets 3 likes
        1. New conversation
        2. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          Of course, in practice we don't want to write out all the A's on the left. So we'll just adopt the convention of taking those as given. In other words, something like: BD really means ...AAAABD, but the A's on the left are implied.

          1 reply 0 retweets 5 likes
          Show this thread
        3. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          Now there's a bit of a problem, which is this convention makes ...AAAA be written as just a blank. Obviously that would be unreadable. So we'll introduce an exception: for that, we'll write A, just as a kind of placeholder.

          1 reply 0 retweets 5 likes
          Show this thread
        4. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          I don't claim, by the way, that this "universal counter" approach is necessarily _more_ obvious than what we were doing earlier. But it's at least plausible as an alternate. And it has the benefit that it's an attractively unified system.

          1 reply 0 retweets 5 likes
          Show this thread
        5. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          Okay, so the way counting goes is: A, B, C, ..., Z, BA, BB, BC,...., and eventually on to BAA, BAB, and so on.

          1 reply 0 retweets 3 likes
          Show this thread
        6. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          In this system, xy -> (x-1)*23+y. And xyz -> (x-1)*23*23+(y-1)*23+z. Those seem satisfyingly neat, and the pattern continues.

          1 reply 0 retweets 3 likes
          Show this thread
        7. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          There is still a slightly ugly thing, which is the -1 terms, which show up over and over again. We could get rid of those if we decided to start counting at 1 -> B, 2 -> C, etc.

          2 replies 0 retweets 2 likes
          Show this thread
        8. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          If we did that, then we'd have xy -> x*23+y, xyz -> x*23*23+y*23+z, and so on for longer strings. That's even simpler, though A is now playing pretty much the role of a placeholder.

          1 reply 0 retweets 3 likes
          Show this thread
        9. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          At this point a clever designer might be bugged by the use of the alphabet in this number representation. After all, the alphabet is already being used for words! So it'd be better to switch to different symbols to prevent confusion.

          1 reply 0 retweets 6 likes
          Show this thread
        10. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          The alternate symbols we use are pretty arbitrary. Let's go for A -> 0, B -> 1, C -> 2, and so on. Of course, we could introduce 23 new symbols. But the 23 is actually pretty arbitrary. So let's use just 10 symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

          1 reply 0 retweets 7 likes
          Show this thread
        11. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          (Of course, the numeric base we use is pretty uninteresting. Base 10 turns out to have some nice advantages, and also some slight problems. But I think this really is an accidental piece of history.)

          2 replies 0 retweets 7 likes
          Show this thread
        12. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          With these choices, our number representation is: xyz -> x*10*10+y*10+z. And so on, for larger numbers.

          1 reply 0 retweets 3 likes
          Show this thread
        13. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          We're very _used to_ this kind of representation. But there's nothing obvious about it at all. Every single thing in the representation can be questioned, and possibly changed. It's fun to try some experiments!

          1 reply 0 retweets 9 likes
          Show this thread
        14. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          One particularly amusing thing: consider the numbers 132 and 123. The 2 actually has a very different meaning in those two numbers. The fact that _location matters_ is a deep idea.

          2 replies 1 retweet 11 likes
          Show this thread
        15. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          (I've glossed over 0 in various ways in this account. And over the fact that place-number system pre-dated the romans. If I was more conscientious I'd have talked more about these - they're incredibly deep ideas - but this thread is already long, so I'll keep glossing.)

          2 replies 0 retweets 6 likes
          Show this thread
        16. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          At this point we have a new numeral system. It's nice in a couple of ways when compared to roman numerals - it doesn't need new symbols to represent larger numbers, and it's extremely compact.

          1 reply 0 retweets 4 likes
          Show this thread
        17. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          Still, those things perhaps don't seem that important. Certainly not worth replacing an entire piece of intellectual infrastructure with!

          1 reply 0 retweets 3 likes
          Show this thread
        18. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          But where this number system really shines is in simplifying certain other things you might want to do. For instance, consider addition of the numbers wx and yz.

          1 reply 0 retweets 4 likes
          Show this thread
        19. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          We have wx + yz = (w*10+x) + (y*10+z) = (w+y)*10 + (x+z). Fiddle with this for a while - it's more work than I want to go through here - and you eventually recover the grade school algorithm for adding two-digit numbers. Do some more work, & you get the n-digit algorithm.

          1 reply 0 retweets 3 likes
          Show this thread
        20. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          There's a miracle going on here, one we don't notice b/c it's so familiar: I pointed out above that the numerals have very different meanings, depending on their location. But despite this, in the grade-school algorithm we use the _same rules_ for addition, regardless of place!

          2 replies 1 retweet 11 likes
          Show this thread
        21. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          E.g., in computing 27+38 at some point in the computation we'll use 2+3 = 5; in computing 72+83 at some point we'll also use 2+3=5. That's despite the fact that the 2 and the 3 in the first sum have a very different meaning than in the second sum!

          2 replies 0 retweets 5 likes
          Show this thread
        22. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          What's responsible for this astonishing fact? If you look back at the reasoning above, you see it's a consequence of associativity, commutativity, and distributivity. That's a pretty huge set of things! And it makes addition _really_ nice in this representation.

          2 replies 0 retweets 8 likes
          Show this thread
        23. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          In particular, it means that although the numerals have different meanings in different locations, in many ways they continue to _behave_ as though they are in some sense "the same". They're _not_ the same. But they retain many of the same affordances, in modern interface lingo.

          1 reply 0 retweets 6 likes
          Show this thread
        24. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          You can go through the same kind of thing, trying to figure out how to multiply two numbers: wx*yz = (w*10+x)*(y*10+z) = x*y*10*10 + ... I won't go through it, but you can guess what happens: you get the grade-school algorithm for multiplication.

          1 reply 0 retweets 3 likes
          Show this thread
        25. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          And, again, even though the numerals have very different meanings in different positions, they have a lot of the same affordances, and so behave in some ways as the "same" object.

          1 reply 0 retweets 5 likes
          Show this thread
        26. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          You can go through this with long division. Same story.

          1 reply 0 retweets 3 likes
          Show this thread
        27. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          At this point this new numeral system looks vastly superior to roman numerals. It's exploiting all this structure to get compact representations, which don't require new symbols, & which exploit deep properties of numbers to simplify addition, multiplication, & division. Amazing!

          1 reply 0 retweets 6 likes
          Show this thread
        28. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          I'm far from an expert on the history of mathematics or its representations. The story above is unrealistic in many ways. Still, I think it gives at least a hint of the incredible mathematical and design insight required to invent arabic numerals.

          1 reply 0 retweets 5 likes
          Show this thread
        29. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          And, of course, this story requires many incredible earlier insights: words, the alphabet, various ideas about multiplication and addition, and so on.

          1 reply 0 retweets 4 likes
          Show this thread
        30. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          To finish, a fun question: is there some way to improve still further on arabic numerals? I believe the answer is almost certainly yes! But that's a thread for another day.

          9 replies 3 retweets 34 likes
          Show this thread
        31. michael_nielsen‏ @michael_nielsen Sep 18
          • Report Tweet

          A few addenda: (1) as lots of people have pointed out, it'd have been more accurate to name them Hindu-Arabic numerals; (2) the ancient Greeks seem to have known much of this (which I didn't know);

          1 reply 0 retweets 9 likes
          Show this thread
        32. 5 more replies

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2019 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info