Showing posts with label Hollywood's Erdös numbers. Show all posts
Showing posts with label Hollywood's Erdös numbers. Show all posts

Saturday, October 22, 2022

Footnotes on Number Theory

I love to watch the odometer. It is not always convenient to stop and take a picture. 

186285 miles were 1 Light Second

Kaprekar’s Constant

There’s a lot of these out there on YouTube. It is very popular in India, of course. 

Numberphile has it. I was disappointed that Mathologer did not. 


Take any four digits, as long as all four are not the same.


Order them highest to lowest and then lowest to highest. Subtract the smaller from the larger. Do it again. Soon, it reduces to 6174. Every time. I wonder how it works in different bases. 

Hidden Circle in Pi?

That is also a challenge that I have never pursued from Carl Sagan’s Contact.  He posits that if you extend pi out far enough-as I recall, in Base 11—you get a string of 1s and 0s that can be arrayed to display a circle. There’s always something else to do… but a computer program seems easy enough and it can run all night and probably not much longer with today’s MacBook, Dell, etc. 

Kaprekar's Constant from Numberphile


10 REM MIKE MAROTTA. FEB 5, 1987. NEWTON'S ALGORITHM FOR SQUARE ROOTS

19 LIMIT= .0001

20 PRINT "ENTER A NUMBER"

21 INPUT X

56 XN = X/2

60 R1 = (XN + X/XN)/2

70 IF ABS(XN-R1) < LIMIT THEN GOTO 80

75 XN = R1

76 GOTO 60

80 PRINT "THE SQUARE ROOT OF ";X;" = ";R1

 

Fast Square Root.
(She only does it for Primes.)
I first wrote this in the winter of 1976-1977, cadging time at the Michigan State University computer center when I was between terms at Lansing Community College. I used it again when I was employed (briefly) at the MSU campus bookstore. They had a Data General Nova for which the vendor delivered a “Business Basic” without algebraic functions. (“You don’t need them for business.”) I wanted to project economic order quantities, which does require finding a square root. I also wrote numerical expansions for natural and common logarithms and made the set into a library of callable functions.

Square Roots

YouTube has a ton of videos on calculating square roots by hand. In this day of cellphones, it is seldom necessary. But I found this video interesting and wrote a sticky note to hang on a monitor for a while. 

 

Another trick I use is based the binary search. Two or three iterations are usually enough. 

Sqrt(97) < 10. Guess 9.3. Square 9.3. Guess again. Richard P. Feynman has a story about beating a Japanese  abacus salesman in a bar in Brazil figuring like that in his head. “More digits! … More digits!”

 

PREVIOUSLY ON NECESSARY FACTS

 

Number Theory as an Adventure 

Nerd Nation: Natalie Portman, Danica McKellar, and Felicia Day 

The Man Who Loved Only Numbers 

Contradictions in the Patentability of Numbers 


Sunday, May 10, 2015

The Man Who Loved Only Numbers

Paul Erdős was easily the most influential mathematician of the 20th century, and arguably so for all time.  He published 1475 papers almost all in collaboration.  Mathematicians have Erdős Numbers.  Your number is 1 if you co-authored with him, 2 if you co-authored with a co-author, and so on.  Movie star Natalie Portman has an Erdős number of 7.  Danika McKellar’s 4 is lower than her Kevin Bacon number. 
Sketch portrait of mathematician Paul Erdős pronounced like Air-dash created with numerals.

Erdős’s work was beyond prolific. He knew how to offer motivating challenges to people working at all levels of mathematics from his academic peers to children.  In that, Paul Erdős was responsible for hundreds of proven insights that extended the frontiers of number theory. 

The fact that Erdős’s life (1913-1996) intersected so many others allowed Paul Hoffman’s biography  to explore the domain and range of the history of mathematics.  The Greeks, Fibonacci, and pi are here along with Hardy, Ramanujan, and  transfinite numbers, as well a bit of graph theory, and “what’s behind door number two?”

The Man Who Loved Only Numbers by Paul Hoffman (Hyperion, 1998) explains most of the mathematics with integers.  After all, God created the integers and we built the rest – or so it was claimed by Leopold Kronecker (1821-1893) and echoed by Stephen Hawking.  As a result, many of these puzzles could be explained to a child in third through ninth grade.  The fact is, though, that few would be.  The stampede for standardized testing in K-12 education forces teachers to focus on the examinations to the detriment of the true understanding that comes from the artful competence of leisure and play.

Consider Ramsey theory.  Among the pursuits of Frank Plumpton Ramsey (1903-1930) was the question of the smallest possible "universe" that contains some element.  How many ordinary people would you have to fetch at random in order to be guaranteed one of each sex (not gender)?  Three, right?  If you want to plan a party, what is the smallest number of guests that guarantees that three of them must know each other?  Six; no proof is offered, so it must be hard.  (The opposite problem that no three of them will know each other is the same problem, again stated without proof.)  If you wrote out the first so-many integers in any order you wanted, how many would you need to guarantee a run of eleven in a row ascending (or descending)? 101, but 100 might work for special cases. To find a string of length n+1, you must have a universe of n^2 + 1.  Anyone in a first-term computer programming class could write a "Ramsey generator." 

Reading the book while commuting to work on the city busses, I misread one of the problems and worked a different one entirely.  It so happens that any odd positive integer raised to any integer power can always be expressed as the sum of two consecutive integers:  9^2 = 81; 81= 40+41.  7^5 = 16807 = 8403+8404. 

Suggestive as isolated cases may be, in mathematics, we need proof, and the more general the proof, better.  Best of all is a simple proof.  And a proof must reveal not merely that something is true, but why it must be true.  As abstract as mathematics is, when you work with integers these necessary truths became necessary factual truths because party guests and anything else we count are sensible evidentiary empirical objects.

So, one morning, I started with 2n+1, the common form of an odd number.  (2n+1)^2 = 4n^2 + 4n + 1.  That can be written as (2n^2 + 2n) + (2n^2 + 2n + 1), clearly some number and the next higher.  The next night, I did the same for cubes.  The following day, I had to open up a math book to see how to write out the expansion for any power n, an algebraic statement for Pascal’s Triangle.  I was pretty sure that I could complete the proof.  Then I realized that if an odd number can be expressed as 2n+1, that 2n is always some integer that admits to the existence of n and the next number would be one more than that.  More to the point, no matter what power (2n+1) is raised to, the last term of the polynomial will be 1.  You always will be able to find half the number and the integer next to it.  (I called it "Proving Gershon's Theorem" after the Sidney Harris cartoon: "You can't call it Gershon's Equation if everyone has known it for centuries.")

Then I tried it with negative integers.  They only work with odd powers.  And I can prove why.  It is child’s play, really.  But few people ever approach mathematics that way. Paul Erdős did.  In fact, he exhibited neoteny, never having any intimate relationships, being cared for by his mother into his sixties, being unwilling to cook for himself or otherwise look after the simplest daily tasks.  Instead, he was in constant motion, traveling to visit colleagues, imposing on their hospitality, in return for which, he gave them the impetus to publish over 1400 significant new ideas in mathematics.

ALSO ON NECESSARY FACTS


Saturday, July 2, 2011

Nerd Nation: Natalie Portman, Danica McKellar, and Felicia Day

In their ground-breaking papers on the so-called “CSI Effect” Kim, Shelton, and Barak identified a general social “tech effect.” About 28% of Americans have bachelor’s degrees.  The master’s is the new bachelor’s.  Complain as we might about public education – including nominally private schools that lockstep along – the fact is that college and university education are the baseline for acculturation.  So, it is not surprising that droves of divas have degrees.  Competition being what it is, brainiacs nestle among today’s working actresses.

Padmè Amidala has an
Erdös number of 7
Natalie Portman (Princess Padmè Amidala in Star Wars; but a slew of credits, including producer and director) was co-author on two academic journal articles before she left high school.  Her real name is Hershlag. 
  • “A Simple Method To Demonstrate the Enzymatic Production of Hydrogen from Sugar,” Ian Hurley, Natalie Hershlag, and Jonathan Woodward, The Journal of Chemistry Education., 1998, 75 (10), p 1270.
  • “Frontal Lobe Activation during Object Permanence: Data from Near-Infrared Spectroscopy,”  Gaudette T; Kagan J; Baird A.A; Walz K.A; Boas D.A; Hershlag N., NeuroImage Vol: 16 Issue: 4
Abstract - The ability to create and hold a mental schema of an object is one of the milestones in cognitive development. Developmental scientists have named the behavioral manifestation of this competence object permanence. Convergent evidence indicates that frontal lobe maturation plays a critical role in the display of object permanence, but methodological and ethical constrains have made it difficult to collect neurophysiological evidence from awake, behaving infants. Near-infrared spectroscopy provides a noninvasive assessment of changes in oxy- and deoxyhemoglobin and total hemoglobin concentration within a prescribed region. The evidence described in this report reveals that the emergence of object permanence is related to an increase in hemoglobin concentration in frontal cortex.

The OrgTheory blog here had a “nerd-off” between Felicia Day and Danica McKellar.  I am easily the last person in the world to have not watched Buffy: the Vampire Slayer, but I found Day because of The Guild.  I discovered the gamers while surfing for Dragons and Dungeons.  (The True Dungeons live action role-playing game - LARP – is played at Gen Con Indy and they use money-like tokens to keep track of potions, weapons, etc.  I wrote them up for the Numismatist.)   

Felicia Day did not take to being passed over for roles after being Vi in "Buffy" so she built her fan base from online social interaction.  Her production of The Guild was an award winner. (Here is her Codex award montage.)   The sociologists at OrgTheory were hot on Day.  Her homepage (here
Dragon Age
 recommends getting your facts about her career from Wikipedia and IMDB.  "Felicia Day had a dual major at UT Austin, mathematics and music, graduating at the top of her class with a concentration in violin performance." (She alludes to being a violinist in The Guild.)  Day immerses herself in the fantasy culture and appears as a guest of honor at cons.  Her coming appearances include:
  • San Diego Comicon: July 21th-24th
  • Chicago Comicon: Aug 12-14th
  • DragonCon Atlanta: Sept 2-5th
  • NYC Comicon: Oct. 13th-16th
  • Blizzcon Anaheim: Oct. 21rst-22nd
  • Long Beach Comicon: Oct. 29th-30th

Danica With Hair
We knew Danica McKellar from The West Wing where she played Elsie Snuffin,the half-sister of NATO brat and speechwriter-with-game Will Bailey.  When I read the “nerd-off” on OrgTheory, I traced her over the web and was deeply impressed.  McKellar majored in mathematics at UCLA.  She has an Erdös number of 4 for being a co-author on “Ashkin–Teller models on Z^2” by L Chayes ,  D Mckellar ,  B Winn, Journal of Physics A: Mathematical and General Volume 31 Number 45 (1998).  You can read the paper on her website here. 
For a region of the nearest-neighbour ferromagnetic Ashkin–Teller spin systems on Z^2, we characterize the existence of multiple Gibbs states via percolation. In particular, there are multiple Gibbs states if and only if there exists percolation of any of the spin types (i.e. the magnetized states are characterized by percolation of the dominant species). This result was previously known only for the Potts models on Z^2.
Danica McKellar also wrote three books, generally targeted to girls.  Note the different locations here at the Ann Arbor District Library.
  • Math Doesn't Suck, New York : Hudson Street Press, c2007. (Youth Y510 McK)
  • Kiss My Math, New York : Hudson Street Press, c2008. (Teen 510 McK)
  • Hot X: Algebra Exposed, New York : Hudson Street Press, c2010. (512 McK)
Also on Necessary Facts: