Computer scientists make progress on math puzzle

October 28, 2010

(PhysOrg.com) -- Two UT Dallas computer scientists have made progress on a nearly 4-decade-old mathematical puzzle, producing a proof that renowned Stanford computer scientist Don Knuth called "amazing" in his communication back to them.

Created by the mathematician John Conway and known as Topswops, the puzzle starts like this: Begin with a randomly ordered deck of cards numbered 1 to n, with n being however high a number you choose. Now count out the number of cards represented by whatever card is the top card, and turn that block of cards over on top of the remaining cards. Then count out the number of cards represented by the new top card and turn this whole block over on top of the remaining cards. Repeat until the card numbered 1 comes to the top (realizing that we know the card numbered 1 will always eventually come to the top).

Now here’s what needs to be done: Calculate the maximum and minimum number of steps required with n number of cards.

Knuth had previously proved an exponential upper bound on the number of Topswops steps, and conjectured that one might also prove a matching lower bound. What Dr. Hal Sudborough and Dr. Linda Morales did, however, was to prove a lower bound that is much better than that proposed in Knuth’s conjecture, and Knuth declared their proof technique both “elegant” and “amazing.”

“What I find fascinating about a problem such as bounding the Topswops function is connected to its simplicity, to its fundamental nature, and to the complexity and difficulty of finding an answer,” said Sudborough, the Founders Professor at the Erik Jonsson School of Engineering and Computer Science. “An easily described, easily communicated problem is invaluable for engaging a wide array of participants, from high school students to the most eminent mathematicians.”

He also cited Martin Gardner, a longtime columnist for Scientific American, who wrote of problems such as Topswops, “Let it not be supposed that those Conway card games are trivial. They deal with the theory of set permutations and not only may provide deep theorems but also may have a bearing on practical problems that arise in seemingly unrelated fields.”

And then there’s the sheer mathematical beauty that the problem reveals.

“The Topswops process is a simple one,” said Morales, a senior lecturer in computer science. “The basic algorithm is easily understood by almost anyone, regardless of their training or interests. But the simplicity is deceptive. Hiding behind it is a mathematical world of unexpected richness and beauty. Our research uncovered permutations whose iterate sequences have a fascinating structure, which upon analysis have revealed hitherto unknown lower bounds for the problem. There is much more to learn from the problem. We have tantalizing hints of more revelations just waiting to be uncovered.”

The lower bound result appears as “A Quadratic Lower Bound for Topswops” in the October 2010 issue of the journal Theoretical , and is now included in Knuth’s The Art of Computer Programming, Fascicle Two, written as a precursor to the soon-to-appear The Art of Computer Programming, Volume 4.

Provided by University of Texas at Dallas search and more info website

4.5 /5 (23 votes)  

Filter


Move the slider to adjust rank threshold, so that you can hide some of the comments.


Display comments: newest first

Pkunk_
Oct 28, 2010

Rank: not rated yet
Perhaps computers were made for mathematicians ?
There are problems which our puny brains can barely comprehend but which with simple algorithm's and the brute force approach which computers utilize can be solved in unexpected ways.
El_Nose
Oct 28, 2010

Rank: 4 / 5 (4)
@pkunk

but all proofs bypass brute force and lay a claim on all possibilities with in a confined domain thats why math is so powerful. Brute force is the lazy kids way of solving a problem ... and if the problem is interesting brute force would take several lifetimes of the universe to solve using a computer.

Thats why humans and the human brain is so wonderful. We if we apply ourselves can think through terribly abstract information to grasp a very concrete solution that applies to everything.

I am a CS major with a MS... nothing comes close to a well trained brain ... and for the most part I think the world is better off that way.

If we ever made a computer on par with the human brain ... the next generation of said computer would be smarter than the entire planet and able to design its replacement with ease... thats a road that we should tread with caution.
El_Nose
Oct 28, 2010

Rank: not rated yet
my comment about the problem however...

this is to the mathematians out there...

isn't this an abstract algebra problem... It seems reminisent of a finite albelian group. We have a clearly defined operation... we have associativity... and an inverse: a(mod n)^-1 ... and an identity... namely card n... so this is by definition a group. And therefor this is a symetry problem... and all finite albelian groups have been solved...

AM I looking at this correctly??
Skeptic_Heretic
Oct 28, 2010

Rank: not rated yet
Brute force is the lazy kids way of solving a problem ... and if the problem is interesting brute force would take several lifetimes of the universe to solve using a computer.
This isn't exactly correct. There are a great many problems that as so far can only be solved by a computer using brute force. The experiment where you need to determine optimum packing placement of round objects in a square box for instance. That required brute force and a computer. No proof could be found, resulting in the problem showing up on the Millenium Award roster of unsolved problems.
El_Nose
Oct 28, 2010

Rank: not rated yet
@ myself

This problem set is not a group. It lacks associativity.

Associativity is (ab)c = a(bc) I made the incorrect assumption that if you had (10*8)*18 = 10*(8*18) the flaw is that this operation is somewhat mechanical in nature so flipping 10 may lead to the number 8 and flipping 8 may lead to 18 and flipping 18 may lead to lets say 4 .... but if you flipped 8 first that will not lead to 18 beaing the next top card .. that order was determined by the inital flip of 10.

I apologize for wasting peoples time.
PinkElephant
Oct 28, 2010

Rank: 5 / 5 (2)
@Skeptic_Heretic,
There are a great many problems that as so far can only be solved by a computer using brute force.
I'd go even further, and postulate that MOST real-world problems do not have analytical solutions, and CANNOT IN PRINCIPLE have such solutions.

The analytically solvable problems (where you have a nice clean equation describing the entire problem) are actually a *very tiny* subset of all possible problems. The vast majority of all situations, therefore, can only be resolved via approximate, computational methods (i.e. simulation + statistical extrapolation and bounding.)
Sanescience
Oct 29, 2010

Rank: not rated yet
@El_Nose: Regarding mechanical brains and treading lightly... in a way it is an arms race, who will make the first and determine it's "goals", benevolent or malevolent.

Segues into a Ray Kurzweil singularity type discussion.
Rank 4.5 /5 (23 votes)
Relevant PhysicsForums posts

More news stories

Talking works: UB professor develops method to analyze creative problem solving

(Phys.org) -- Talk -- if it's the right kind -- can increase creativity, leading students to create useful, new ideas that solve problems, a University at Buffalo professor has found by using a statistical tool that he invented.

Other Sciences / Social Sciences

created just added | popularity not rated yet | comments 0

Dinosaur with tiny arms unearthed in Argentina

Argentine experts have discovered the near-complete remains of a new species of Jurassic-era dinosaur that stood on its rear legs and had tiny arms, according to a leading paleontologist.

Other Sciences / Archaeology & Fossils

created 2 hours ago | popularity 5 / 5 (1) | comments 0

Social welfare cuts ultimately come with heavy price, researchers say

(Phys.org) -- Slashing government funding for Medicaid, food stamps and other programs that serve the poor – while politically popular with some lawmakers and many conservatives – may do more harm ...

Other Sciences / Social Sciences

created 23 hours ago | popularity 4.5 / 5 (8) | comments 71

Relatively speaking: Researchers identify principles that shape kinship categories across languages

Different languages refer to family relationships in different ways. For example, English speakers use two terms — grandmother and grandfather — to refer to grandparents, while Mandarin Chinese uses four terms. ...

Other Sciences / Social Sciences

created 15 hours ago | popularity 4 / 5 (4) | comments 0 | with audio podcast

Oldest art even older

New dates from Geißenklösterle Cave in Southwest Germany document the early arrival of modern humans and early appearance of art and music.

Other Sciences / Archaeology & Fossils

created 10 hours ago | popularity 5 / 5 (2) | comments 1


OmniVision tops up sensors for cameras, phones

(Phys.org) -- OmniVision has announced two high-resolution image sensors for the digital still and digital video camera market (DS/DVC) and higher end smartphones. In end-user language, it is a claim for superior ...

Diagnostic labs analyze from bugs to toenails

Found an odd bug in your closet? Rhododendrons inexplicably wilting? Need a toenail analyzed? There's a lab for that.

Computers excel at identifying smiles of frustration (w/ Video)

(Phys.org) -- Researchers at the Massachusetts Institute of Technology (MIT) in the US have trained computers to recognize smiles, and they have turned out to be more adept at recognizing smiles of frustration ...

Is a classical electrodynamics law incompatible with special relativity?

(Phys.org) -- The laws of classical electromagnetism that were developed in the 19th century are the same laws that scientists use today. They include Maxwell’s four equations along with the Lorentz la ...

HyperSolar shows dirty water no barrier to power world

(Phys.org) -- The Santa Barbara, California, company, HyperSolar, is set to transparently share the ups and downs of its research experiences toward the company’s ultimate vision, successfully producing ...

Solar plane ends first leg of intercontinental bid

The Swiss sun-powered aircraft Solar Impulse landed safely in Madrid early Friday at the end of the first leg of its attempt at an intercontinental flight without using a drop of fuel.