I was looking around on the internet until I stumbled upon this equation.

111111111×111111111=12345678987654321
How does this actually work? It is quite amazing how the number ascend and then descend by ones.

up vote 8 down vote accepted

Just multiply it out with the grade school pen-and-paper algorithm:

111111111 x 111111111
---------------------
            111111111
           111111111
          111111111
         111111111
        111111111
       111111111
      111111111
     111111111
    111111111
   ------------------
    12345678987654321

Each digit of the result comes from summing the digits in one column -- that is, counting how many ones there are. Since this is at most 9, there are no carries between columns.

  • 1
    +1 - nice picture! To the OP, note that we can use this same picture to cook up versions of this in arbitrary bases. For example, in base 5 we'll want the end result to be "12343215"; thinking about the picture above, this will happen when we square "11115." – Noah Schweber Feb 16 at 2:13

(k=0n10k)2=i=0nj=0n10i+j
There are k+1 occurrences of 10k, namely (i,j)=(0,k),(1,k1),,(k,0), if kn, and 2n+1k, namely (i,j)=(kn,n),(kn+1,n1),,(n,kn), if n<k2n. If n8 this means the decimal representation of (11)×(11) is 12n(n+1)n21.

If you write one of the 111111111 values up the side and the other across the top of a table, and multiply each digit selection individually, you get a table of 1s. But the actual value behind those 1s is a power of ten, so you collect like powers of ten as shown: enter image description here

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.