Rubik’s cube ‘riddle’ can be solved ‘in 20 moves’, scientists using Google PC discover

The Rubik’s cube conundrum can always be solved in 20 moves or less, an international team of scientists and Google engineers have discovered.

By Andrew Hough
Published: 6:30AM BST 12 Aug 2010

Video

The “riddle” of the minimum number of moves required to solve any configuration of the popular toy has stumped its users, and mathematicians, for almost three decades.

But now the team of researchers, based in Palo Alto, California who used Google computers, have discovered that any combination can be solved in no more than 20 moves.

Experts say this figure is known as "God’s number", which is based on an assumption that even an “all knowing entity” could not solve the puzzle faster.

The results suggest there are more than 100,000 starting positions that can be solved in exactly 20 moves although the majority of solutions take between 15 and 19 moves to piece together.

The researchers combined the search engine giant’s computing power with mathematical expertise to check more than 43 quintillion (43,252,003,274,489,856,000 to be exact) possible jumbled positions the cube can take.

Prof Morley Davidson, a mathematician from Kent State University, Ohio, a member of the team, told the BBC: "We now know for certain that the magic number is 20.

"It’s come full circle for me. Rubik’s cube was an icon of the 80s when I was growing up and was the reason I went into mathematics.

"It’s the universal popularity of the puzzle – it’s probably the most popular puzzle in human history."

The initial results have been published online and Prof Davidson said they would now be submitted to peer-reviewed journals.

Tomas Rokicki, a programmer who has spent the past 15 years searching for a solution, said the team’s computer algorithm could try out 1 billion cubes per second. Previous computer methods could only solve around 4,000 possible cubes a second.

“The primary breakthrough was figuring out a way to solve so many positions, all at once, at such a fast rate,” he told the New Scientist magazine.

To simplify the problem, the team of researchers used the mathematics technique called group theory.

According to the New Scientist, they first they divided the set of all possible starting configurations into 2.2 billion sets – each containing 19.5 billion configurations – according to how these configurations respond to a group of 10 possible moves.

This grouping then allowed the team to reduce the number of sets to just 56 million, by exploiting various symmetries of a cube.

The team’s algorithm rapidly matched moves to the correct starting point, allowing them to solve each set of 19.5 billion in less than 20 seconds.

At this speed completing the entire task would take around 35 years for an ordinary home computer.

In 2007, The Daily Telegraph reported that any configuration of a Rubik’s cube could be solved in 26 moves, or less.

Others have since found it to be less, although Prof Davidson said this was “pure religion”.

Invented in 1974 by Professor Erno Rubik, the Rubik’s cube was an instant success when it was first exported from Hungary in 1980, becoming the world’s fastest-selling toy.

The 64-year-old reclusive Hungarian professor has since seen his cube achieve 350 million sales in the three decades since.

Still obtaining a cult following, almost 40,000 entries on YouTube feature tutorials and video clips of quick solutions.

Last year the 360, a new game from the Rubik’s cube inventor went on sale.

Android Edges Past iPhone in New Smartphone Subscriptions for Q2

by Kevin Krause on August 2nd, 2010

Android’s market share continues to rise, and — according the latest smartphone penetration figures presented by Nielsen — for the first time Android has over-taken the iPhone in new subscriptions during the second quarter of 2010. While overall subscriptions have continued to grow with 25 percent of the mobile market now using a smartphone, Google’s Android again saw big growth, up to 13 percent overall share compared to Q1’s 9 percent. It was the largest growth for any smartphone platform.

In terms of subscriptions over the past month, Android has surpassed iPhone in new users, with 27 percent of smartphone subscribers going with Android compared to the iPhone’s 23 percent. RIM still holds the highest but steadily declining figure at 33 percent. It will be interesting to see the numbers for quarter three after the iPhone 4 and new Android phones from Motorola on Verizon have had a good chunk of time to stew.