MARCH 20, 2009 4:27PM

Addiction? The Life of Numbers (1)

Rate: 26 Flag
O God, I could be bounded in a nutshell and count myself a
king of infinite space, were it not that I have bad dreams.

                                                                              - Hamlet II, ii, 240

 

fibonacci
                                                                                                Fibonacci Golden Spiral

When I was eleven, it was discovered that I could repeat a thirteen digit random string of numbers backwards after hearing it once.

Seventeen digits if presented visually.

Equally randomly, as if awed by this prowess, some of the other kids would kick the shit out of the budding fucking genius, the men in black rarely intervening.

The numbers seemed to form a pattern in my brain[1] and from childhood such patterns, their beauty and their anomalies, have fascinated me. They have guided my memory and, in a way, realizing those patterns has guided my life.

The Early Numbers:

Consider the set of the squares of integer (whole) numbers in the first line, which I found to be, frankly, boring.

1  4  9  16  25  36  49  64....

                        3  5   7   9    11   13   15....

But the second line -- showing the difference between the successive squares -- briefly held me by its lure of orderly progression until it undid its promise by the triviality of its proof[2] .

Not only did the patterns have to be beautiful, so did the proofs.

12, 69, 324, 1245, 2768931

324 and 2768931

The numbers above have no discernible pattern, but what grabbed my young imagination was not just being told or recognizing that a similar set of numbers were all divisible by 3 and those in the second line also by 9 -- but being able to go beyond the "baby" proofs and prove the theorem in full [3].

 

The Binomial Theorem and Pascal's Triangle:

I'm very well acquainted too with matters mathematical,
I understand equations, both the simple and quadratical,
About binomial theorem, I'm teeming with a lot o' news -
With many cheerful facts about the square of the hypotenuse.

                                                  - Gilbert and Sullivan The Pirates of Penzance
                                                                    "The Major- General's Song"

Ah, the Queen of Theorems, such elegance in its sinuous form, such depth of refinement in its inductive proof -- a thing of beauty and a joy forever.

(x+y)n = b0xn + b1xn-1y + b2xn-2y2 ....+ bn-1xyn-1 + bnyn

But as much as the theorem itself, it was the binomial coefficients (b0, b1, b2.......b above) arranged geometrically for ascending powers of n as shown in Pascal's Triangle below which captivated the young pup.

pascalT4

How did I love thee? Let me count the ways: the horizontal symmetry, the second diagonal with the natural numbers in order, the third with the triangular numbers, next the tetrahedrals and the pentatopes und so weiter. (I didn't fully understand these then, but later they unfolded as a class of d-simplex numbers leading to combinatorics and... aah, you don't want to go there.)

But see for yourselves in all the glory of 3-D animation (whereas all we had was imagination) a tetrahedral in action. If you could build it with marbles, a three-sided pyramid on a triangular base with side length 5 would contain 35 spheres. And each layer  would comprise the preceding triangular numbers: 1, 3, 6, 10, 15.  All Blaise Pascal!

Source: Wikimedia Commons

And if that were not enough, depict the same numbers in a right triangle:

pascalt2

The sum of the numbers in each color-coded diagonal gives us the series 1, 1, 2, 3, 5, 8, 13 .....as presented by the world famous, the one and only Leonardo Fibonacci of Pisa in 1202!

Feast upon the exquisite shape of the Nautilus in the head-piece diagram  constructed from the Fibonacci series and prepare yourselves for Part II: Fibonacci Numbers, the Golden Ratio and Infinite Continued Fractions in both Canonical and Square Root Forms. I kid you not.

WOOF

Notes: 

[1]  See Matthew Decoursey's excellent posts on different ways of thinking: I do not think in language and  Similes are cool; metaphors are hot

[2] Difference of successive squares proof:

Let n, n+1 be successive integers.

Then x, the difference between their squares can be written as

x = (n+1)2 - n2= (n2 + 2n + 1) - n2 = 2n + 1

Example: If the successive integers are 6 and 7, x = 2*6 + 1 = 13, which is indeed the difference between their squares 36 and 49. 

 

[4] The "rule" is that if the sum of the digits is divisible by 3 or 9, the entire number is divisible by 3 or 9 respectively.

The "baby" proof goes something like this. Take a number abc .

abc = 100*a + 10*b + c
= (100*a - a) + (10*b - b) + (c - c) + (a + b + c)
= (99*a + 9*b) + (a + b + c)

Since the expression (99*a + 9*b) is divisible by 3 or 9, if (a + b + c) is also divisible by 3 or 9, the entire right hand side is divisible by 3 or 9. Therefore the left hand side i.e. the original number abc is divisible by 3 or 9. And (take it on faith) this can be extended to "n" digits. QED

The proof in full for an eleven year old disbeliever:

Let x be a positive integer with n+1 digits i.e. an..... a2 a1 a0

Then x = a0 + a1*10 + a2*102+...... an10n
= (a1*10 - a1) + (a2*102 - a2) + .... (an*10n - an) + (a0 + a1 + ... an)
= a1(10 - 1) + a2(102 - 1) + an (10n -1) + (a0 +a1 + a2 + ..... an)

Now, IF both (10n - 1) AND (a0 + a1 + a2 + ..... an) are divisible by 3 and 9, we have our proof.

Using the Binomial Theorem, where b0, b1, b2 etc. are the binomial coefficients:

10n - 1 = (9+1)n -1 = (b0*9n + b1*9n-1 + b2*9n-2 .... + 1) -1
= b0*9n + b1*9n-1 + b2*9n-2 +.......

Since, the right hand side is divisible by 3 or 9, the left hand side (10n - 1) is also divisible by 3 or 9.

Therefore, if the remaining condition is met i.e. if the sum of the digits (a0 + a1 + a2 + ..... an) is divisible by 3 or 9, the original number is divisible by 3 or 9 respectively. QED

 

 

Your tags:

TIP:

Enter the amount, and click "Tip" to submit!
Recipient's email address:
Personal message (optional):

Your email address:

Comments

Type your comment below:
Dear CCC;

Wow. This is too much for me. I am going to show this to my 18 year old math genius child and his slightly less adept father.

Is this a case of photographic memory, or OCD, or both? :-)

I'm trying to see what it is that you do for a living, but your bio doesn't say.

denese
What an incredible post. You give us mathematical beauty, a sampling of your genius, colors, shapes, movement, prose, Gilbert and Sullivan -- and Shakespeare!
I picked my college because they promised me I wouldn't have to take anymore math. So this is the most math I've looked at since I was seventeen. No sparklies, but you do have the rotating pyramid.
naught x naught or any other number = naught
naught plus naught also = naught
:-)
Rated
You are deep, Dawg! I can feel the neurons in some dusty corners of my brain start to fire, remembering when we knew this...Looking forward to the next installment, though I really really hope there are no pop quizzes on the horizon ;)
And I thought my (former) nicotine addiction was bad! Incredible and incredibly unintelligible (to me) post. Rated for incredibility.
Wow wow, bow wow! Beautiful visually and numerically.
Thank you all. No pop quizzes, as this was/is part of a series of exercises to see if writing about numbers (especially on the Web) can be made interesting, jargon-free, comprehensible yet comprehensive and rigorous.

Denese, actually I'd thought of putting in the epigraph that people should show this to their pre-calculus kids for comments, but Hamlet won out! Also dunno about OCD, but I LOVE irrational numbers :-). And what, you don't think cannabis-growing is a good enough living, harumph?

Thanks, Lea, but us scl's gotta try to live up to our early billing!

Mrs. M, take heart, sparklies next post. And this math stuff is strange -- daughter like you, no math since high school, but what she possesses (inherited?) is an uncanny head for languages (6 at last count, and just in first year of grad school). I wanted to ask Matt Decoursey about it, but he hasn't posted for a while.

Donna, and thank you for going back to Donna -- numbers are one thing but have a heckuva time with names, especially changing ones :-) -- keep those neurons firing and those synapses closing -- whole numbers this time, but continuing fractions in next post. YES.

WOOF
Greg, I have forgotten thee not, nought, naught. Thank ye. And thanks resistance and artsfish. A mere bagatelle but mine own.

WOOF
I blame my sister. She snagged all the math genes. That's okay though. I got the tall genes.
Just for you CCC, I'll rank the digits:

#1. (3) - Representing the heart, mind and soul
#2. (9) - Three on roids , aka A-9
#3. (7) - As in samurai!
#4. (5) - Cuz it's so easy to multiply
#5. (2) - Cuz it takes two, no ?
#6. (4) - Would rank higher if 2+2 always =4 (bankers disagree)
#7. (6) - Only digit used for the sign of the Bush (666)
#8. (8) - Used only for vegetable drinks (V8) car engines too I guess
#9. (1) - What I'll always be, this number sucks!
#10. (0) Zero - my net worth
Math, Yarrrrgtggh! The numbers are so pretty, and I love a good perfect formula that makes a spiral.
"Equally randomly, as if awed by this prowess, some of the other kids would kick the shit out of the budding fucking genius"

Hugs to the young pup for the ass-kicking he endured! So sad, but hilariously put.
I believe it was our pal Borges who said, " just because I can't explain it, doesn't mean I don't understand it." (If only my college calculus teacher felt the same.) Thankfully there is no quiz here because this goes way over my head-- but I still found it delightful.

Thanks also for reminding us all of Matthew's great post-- that was some fun, wasn't it?
I once asked you, "waddayou, wicked smaht?" I guess I now know the answer. I suspected you were some species of brainiac. Hey, what type of distribution of barrier heights would produce a power law decay curve (population depletion curve) if overcoming the barrier resulted in decay? Just askin'.
Nice work.
OMG I am so turned on!
Harry, you're a natural! Do you realize, ya bum, that your numbers break down in order as 397 and 524681 : BOTH PRIMES!!! What's the probability of that?! And 397524681 is divisible by both 3 and 9! Bugger was just setting me up for a test :-).

Zuma, wait till the next post for a great prime number spiral!

dharma, looking back I think some of the beatings may have been deserved. Probably to no one's surprise, I had a bit of a mouth, even then ;-).

CAT, that's DOG, dammit, DOG. There is no G*D -- writing it like that, hope He won't notice ::flop sweat::.

Axeman, I actually answer that in Part 3 ;-).

OMG, Kelly, where were you when I needed you forty years ago (see upcoming Parts 2 and 3).

Thank you all for your comments.

Parting is such sweet sorrow, Part 2 will come tomorrow. (Geez, now I've got both the regular G*d and my God Will mad at me).

WOOF
That's scary because the one thing I wanted to mention was my favorite numbers are prime numbers. Was always fascinated with that concept. I think I'm going to start calling you Rain Man.
Harry, yours and mine both. But the two primes one after the other in your comment was indeed uncanny! I talk about the slippery slope of primes (probably in Part 3, this thing's gotten a lot longer than I'd intended, and you know I work rather slowly) and where it led Dawg :-).

WOOF
Wow! You are the Mathdog fo' shizzle (I can't believe I said that and I am sober - honest). And irrational numbers are so much more fun than irrational people. And nobody deserves a beating - even a smart ass puppy.
Rated x C/d
Oh jeebus - my brain just imploded. (I barely eked an "A" in statistics, but this? You just killed off all mathematical inclinations.)

(Rated. Because of "teh smaaht".)
Yo, Grizzle, you just had me spewing mah drizzle thru mah nozzle! MathDog sounds good to me, and the occasional getting-the-shit-kicked-out-of-me did me good, according to Fr. Wroblewski R.I.P.

AnniThyme, Jaysus weeps. This was supposed to enlighten, encourage, seduce, beguile numerophobes -- if it turns off Alpha Statisticians, I have failed, failed. Gimme an F :-(.

WOOF
Much better. But, and this had better not get out (what's said in OS, stays in OS), I've always wanted to be a CAT ;-).

MEOWOOF
I always view OS as having a "cone of silence". (Re: your comment to Cat.)

As for statisticians - well, I've heard, and have been told, that it is the "unmath" of the math world. (Meaning that stats makes so-friggin'-sense.)
I daresay I love how numbers dance, tho they never did for me.
I hazard you could explain Fermat's s Last to me.

How much Scotch must I put by?
I still don't really understand
Why simply raising up my hand
When asked a question in a class
Guaranteed I get my ass
Kicked by some ignoramus who
Could barely add up 2+2
But time has salved that old defeat
And, ah, revenge is truly sweet
While I grew older, wiser, cool
The bully stayed an ignorant fool
Yet another reason to love you, dawg. Here's more than anyone probably wants to know about me: my mother, now 80 years old, got her master's in mathematics at a time when women didn't even attend college. I married a computer scientist (whose undergrad major was math); his father was/is a professor at UW-Madison and the London School of Economics.

The child of this now-dissolved marriage got the math genes that mostly passed through me without pausing. In kindergarten he fell in love with primes. In 3rd grade he figured out an algorithm for solving the Towers of Hanoi problem. In 2005 he was the National High School Calculus Student of the Year. (If the link shows up properly, and you follow it, you will see the only picture in existence of me while I was undergoing chemo. I have the funny little "chemo turban" on.)

Yes, I've just become Freaky Troll, and turned this into a comment about ME, ME, ME. Apologies. But I thought this would help explain why I think of you as family ;)
Well I love numbers and I love Gilbert and Sullivan so any post that combines both is automatically rated and adored. Thank you.

I had to work through the proof in #4 twice but finally got it - very elegant.

And there's something about the tone of this post that reminds me of two of my favorite books "Thomas Gray Philosopher Cat" and "The Thread" both by Phil Davis - which is high praise indeed.
Nice, CCC. I wish I had your math intuitions.
Oh my Dog, you have left me so far in the dust...I used to think I was good at math. Well, I am good at math. But you're one of those math geniuses like on Numbers, you visit places that I could never go. Rated for impressing the hell out of me. :)
Very cool. Your passion for numbers shines through, kinda like my dad and trains.
Thank you all for your comments.

Caruso, let us start with Fermat's first theorem, which says:
a**p = a (mod p) (damn, imagine the = to be a triple bar congruence relation), in other words, if a is any integer and p is a prime number a**p/p will result in the remainder a or, in other other words, (a**p - a) is divisible by p. For example, 2**3/3 gives you the remainder 2; 3**5/5 gives you a remainder.... Ok, where's the Scotch? And you got a doobie? I'm all out :-).

Padraig: "My brain hurts." "Then it will have to come out, won't it?" Greg is Kind of Blue, but he'll always be Greg to Dawg.

Tom, thanks for the poem, but it wasn't all that bad. I mean if I hadn't gone around nicknaming guys "bag-o-hammers" "box-o-nails" "Brick" "30 watts" and my best "Sweeney" (after Apeneck -- I was a big T.S. Eliot fan) maybe things woulda been different :-).

Susan, YO DA MOM! And kudos to Sam: he seems much smarter and more grounded than stupid-human-tricks doing Dawg was at his age (as you'll see if you stick around for parts 2 and 3).

Sanjuro-san, thank you for slogging through the proof. And phew, I'm glad it was correct!

And thank you, Rob, merwoman, Lainey. And lemme see you all at the next lemma.

WOOF

CCC
Excellent, Woofie. All Blaise Pascal, indeed! So this is why you turned down my interview request -- you were going to do your own life story through numbers? Good idea, actually. Can't wait for Part II.
"O Setebos! these be brave spirits indeed!
How fine my master is! I am afraid
He will chastise me."

Ever since Caruso did the strip on it, my mind is riddled with The Tempest. But who chastiseth thee? And didst thou get me into trouble, Caliban? No, really, is this something new in the OS water -- can't keep up with the damn feuds any more. I think I'll go and read about Sri Lanka or something to take my mind off these :-).

WOOF
Hurt not? I fear the foul conspiracy of the beast Caliban and his confederates. But maybe I'm just getting paranoid :-).

WOOF
No, no. Not you. I was talking about the stuff going on about grammar, punctuation, calling Saturn a shill... that whole ball of wax. Boy, I'm jealous. The production you saw was OMG, a canonical production. I've read about it, referred to reverently, along with the earlier Gielgud and Redgrave Tempests. I've never seen the Tempest at Stratford or the National, I regret to say. Seen it quite a few times here in the States, but that's just not the same.

WOOF