Showing posts with label maths. Show all posts
Showing posts with label maths. Show all posts

Tuesday, November 4, 2008

बूझो तो जाने.......

My digital alarm clock has many responsibilities. First, it has to wake me up at 6:30 A.M. to get my kid to school. Later, I reset it for the various 10-minute naps I take during the day.Resetting the alarm clock for a new time entails changing the hour one hour at a time on a 24-hour clock and then changing the minute value one minute at a time. In the worst case, the minute value must be changed by clicking 59 times. (As you can see, it's not an iPhone, Android or other device that allows me to key in the right time.)So, I thought that it would be nice to have an extra button that would advance the minutes by more than 1 with each click. The question then is: What number of minutes, as an interval, would be most efficient?Warm-up:Suppose the multi-minute button (MM for short) always advanced the time by 5 minutes. What, then, is the greatest possible number of clicks necessary to reset to the correct minute value?Warm-up solution
Problems:1. Still, 5 minutes may not be the best interval to choose for MM. What might be better for minimizing the worst-case number of clicks? What is that worst case?2. Suppose that the first click on MM advanced a certain number of minutes, the second click on MM a possibly different number of minutes, and so on. What should those numbers be to minimize the worst-case number of clicks?3. Suppose you were given two multi-minute buttons (MM1 and MM2), and each advanced the time by a fixed number of minutes. What should those two fixed numbers be for the two buttons to minimize the worst-case number of clicks? How many is that worst number?Hint: Suppose one button advanced the minutes by, say 32, then two clicks of that button advanced the minute hand by 4 without changing the hour value.
Puzzle solution
We now have three buttons that advance the time, one by 1 minute and the others by other amounts. Many variants are still possible. For example, we could take away the constraint that all buttons advance the time and the constraint that one of the buttons must advance by 1 minute. If you have a cool variant that you can solve, then please post it, with the solution, as a comment on this story.

Source:http://www.sciam.com/article.cfm?id=puzzling-adventures-alarm-clock

बूझो तो जाने.......

My digital alarm clock has many responsibilities. First, it has to wake me up at 6:30 A.M. to get my kid to school. Later, I reset it for the various 10-minute naps I take during the day.Resetting the alarm clock for a new time entails changing the hour one hour at a time on a 24-hour clock and then changing the minute value one minute at a time. In the worst case, the minute value must be changed by clicking 59 times. (As you can see, it's not an iPhone, Android or other device that allows me to key in the right time.)So, I thought that it would be nice to have an extra button that would advance the minutes by more than 1 with each click. The question then is: What number of minutes, as an interval, would be most efficient?Warm-up:Suppose the multi-minute button (MM for short) always advanced the time by 5 minutes. What, then, is the greatest possible number of clicks necessary to reset to the correct minute value?Warm-up solution
Problems:1. Still, 5 minutes may not be the best interval to choose for MM. What might be better for minimizing the worst-case number of clicks? What is that worst case?2. Suppose that the first click on MM advanced a certain number of minutes, the second click on MM a possibly different number of minutes, and so on. What should those numbers be to minimize the worst-case number of clicks?3. Suppose you were given two multi-minute buttons (MM1 and MM2), and each advanced the time by a fixed number of minutes. What should those two fixed numbers be for the two buttons to minimize the worst-case number of clicks? How many is that worst number?Hint: Suppose one button advanced the minutes by, say 32, then two clicks of that button advanced the minute hand by 4 without changing the hour value.
Puzzle solution
We now have three buttons that advance the time, one by 1 minute and the others by other amounts. Many variants are still possible. For example, we could take away the constraint that all buttons advance the time and the constraint that one of the buttons must advance by 1 minute. If you have a cool variant that you can solve, then please post it, with the solution, as a comment on this story.

Source:http://www.sciam.com/article.cfm?id=puzzling-adventures-alarm-clock

Sunday, August 31, 2008

World record ($100,000) prime number found?


Researchers may have turned up the 45th example of a Mersenne prime—a type of prime number rare enough that months or years of computerized searching are required to pick one out among the throngs of mere primes.Details are still sketchy but the Great Internet Mersenne Prime Search (GIMPS) has announced on its Web site that a computer turned up a candidate Mersenne (pronounced mehr-SENN) prime on August 23. Checking began this week and should be completed by September 16.If it checks out, the finding of the 45th Mersenne prime (MP) might qualify for a $100,000 prize offered by the Electronic Frontier Foundation for anyone who a prime number having at least 10 million digits. The 44th MP, discovered in September 2006 by two researchers at Central Missouri State University, clocked in at 9.808358 million digits.Mersennse primes, named for 17th-century French smarty-pants monk Marin Mersenne (left), follow the formula 2^p – 1, where the power p is itself a prime number. (Commenters, don't hesitate to pounce on errors in my arithmetic.)
Take p=3:2^3 – 1= 8 – 1= 7, which is prime(QED)But not all p's yield the Mersenne variety.Consider p=11:2^11 – 1= 2048 – 1= 2047= 23 * 89(T4P = thanks for playing)The 44th MP had p of 32,582,657.People aren't hunting for Mersenne primes in order to prove anything about them, according to Mike Breen of the American Mathematical Society. "They're doing it because it's there, and it's an interesting challenge," he says. Math nerds also go ga-ga for really big numbers, as we all do I'm sure.Here's a side note courtesy of Breen (to whom no errors of mine should be attributed): Mersenne primes are all associated with "perfect numbers," those such as 6 or 28 whose factors add up to themselves (or to double themselves if you include the number itself as a factor). E.g., the factors of 28 are 1, 2, 4, 7 and 14, which add up to 28.There's a simple formula relating the two:
Perfect Number = MP * 2^(p-1)
Take p=3 again:
(2^3 – 1) * (2^[3-1])= 7 * 2^2= 7 * 4= 28
I leave the proof of the relationship to the reader.

Saturday, August 30, 2008

A Natural Log: Our Innate Sense of Numbers is Logarithmic, Not Linear



We humans seem to be born with a number line in our head. But a May 30 study in Science suggests it may look less like an evenly segmented ruler and more like a logarithmic slide rule on which the distance between two numbers represents their ratio (when ­di­vided) rather than their difference (when subtracted).
The mathematical idea of a number line—a line of numbers placed in order at equal intervals—is a simple yet surprisingly powerful tool, useful for everything from taking measure­ments to geometry and calculus.
Previous studies of Westerners showed that people tend to map numbers on a linear scale, with the numerals evenly spaced along the line. But if the numbers are presented as hard-to-count groups of dots, people will logarithmically group the larger numbers closer together on one end of the scale in what researchers call a “compression effect.” Preschoolers also group numbers this way before they begin their formal education in math.


To investigate which number-line concept is innate, neuroscientist Stanislas Dehaene of the College of France in Paris worked with the Mundurukú, an Amazonian culture with little exposure to modern math or measuring devices. The Mundurukú were immediately able to place numbers on a line when asked, but they grouped them logarithmically.
Dehaene says the research suggests that a logarithmic number line might be an intuitive mathematical concept, whereas the idea of a linear number line might have to be learned.
Editor's Note: This story was originally printed with the title "A Natural Log"

Source:http://www.sciam.com/article.cfm?id=a-natural-log