Official: just 20 moves needed to solve a Rubik's Cube

News in pictures
News in pictures
On Facebook
From the blogs

Roy Hodgson for England: A club of one

To argue against Harry Redknapp for England is akin to arguing in favour of bankers bonuses. While s...

Time for a reality check on the Sri Lankan civil war

Sri Lanka, much like Britain, has side-lined accountability long enough.

Children Of Alcoholics week: One million children may just be the tip of the iceberg

Children Of Alcoholics week starts today. So, what are the aims for Nacoa during this important week...

Review of Being Human: ‘Being Human 1955’

Following on from an episode tinged with tragedy, this week lifted the mood with something lighter.

To be precise: there are 43,252,003,274,489,856,000 different possible configurations of the coloured squares on any Rubik's Cube. Yet now researchers have calculated that you're never more than 20 moves away from solving the famous puzzle.

That might seem startling to anyone who has owned one of the classic toys for decades without being able to solve it just once – or has even resorted to peeling off the stickers and placing them back on in the correct pattern to pretend to their friends they have cracked it.

But using one of Google's supercomputers, an international team of square-eyed enthusiasts in California have confirmed that the puzzle need not take any time at all, no matter what its starting position. In fact, only 300 million arrangements – a small fraction of the total number – require a full 20 moves, with the majority of solutions taking between 15 and 19. It had already been thought that 20 was the maximum number of moves needed, after a previous estimate of 18 was disproved upon the 1995 discovery of a configuration that needed two more.

Announcing definitively that 20 was the "magic number", Professor Morley Davidson, a mathematician from Ohio's Kent State University, said: "We were secretly hoping in our tests that there would be one that required 21."

Despite Google's state-of-the-art technology, Professor Davidson said it would have been "completely hopeless" to try testing all of the combinations individually, and so the team studied duplicate and symmetrical patterns to reduce the number that required analysing.

They began by splitting the configurations into 2.2 billion groups of 20 billion positions, which they were eventually able to whittle down to the 56 million groups of 20 billion combinations they analysed. Even then, their calculations would have taken a good desktop PC 35 years to work its way through them, but with Google's equipment it took just a few weeks.

More than 400 million Rubik's Cubes have been sold since it was invented in 1974 by the Hungarian architect Erno Rubik, and Professor Davidson told the BBC his devotion to the project was because the puzzle had inspired his whole career.

"It's come full circle for me," he said. "Rubik's Cube was an icon of the Eighties 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."

Professor Davidson carried out the work with John Dethridge, an engineer at Google, Herbert Kociemba, a maths teacher and Tomas Rokicki, a computer programmer from California. With the preliminary results now available online, the quartet are submitting their evidence to peer-reviewed journals for final confirmation among the mathematical community. Beyond that, they are considering looking at the Cube's other mathematical mysteries or working on the four-layered version.

Independent Comment
blog comments powered by Disqus

Day In a Page

Apple admits it has a human rights problem

Apple admits it has a human rights problem

After years of complaints and workers' suicides in China the technology giant faces up to the human cost of its gadgets
Peter Moore: 'I feel guilty I'm the only one alive'

Peter Moore interview

'I feel guilty I'm the only one alive'
Sellafield faces nuclear option as overspending threatens plant's future

Sellafield faces nuclear option

Overspending threatens plant's future
Israel blames Iran for embassy bomb attacks

Israel blames Iran for embassy bomb attacks

Tehran rejects Netanyahu's 'lies' after diplomats in India and Georgia targeted
Former manager enjoying Apoel crack at the big time

Tommy Cassidy interview

Former manager enjoying Apoel crack at the big time
James Lawton: Patience may not be a virtue this time, Roman – Andre Villas-Boas looks all at sea

James Lawton: AVB looks all at sea

Abramovich's visits to training reinforce the idea of a coach feeling pressure from above and below
The 10 Best sledges

The 10 Best sledges

Not all of them require snow...
Procrastination: Not now – I'm busy

Procrastination: Not now – I'm busy

Confronting the real reasons for puttting things off can help us beat it
Fun in the sunset years

Fun in the sunset years

A new movie follows retirees moving to India for low-cost care and a culture of respect for the elderly. For many Britons, it's already a reality
Picture preview: Lucian Freud drawings

Lucian Freud drawings

Picture preview
Silent revolution at the Baftas as the French take top awards

Silent revolution at the Baftas

The Artist wins in seven categories, with Meryl Streep the other big success story
Whitney Houston: The diva who had – and lost – it all

The diva who had – and lost – it all

Nick Hasted charts the highs and lows of Whitney Houston's life
How Picasso won over (some of) the British

How Picasso won over (some of) the British

Winston Churchill and Evelyn Waugh hated his work, but Picasso provided inspiration for a whole generation of UK artists
Topshop: A Decade Of Design

Topshop: A Decade Of Design

When London Fashion Week starts on Friday, Topshop will celebrate 10 years backing its brightest young stars
John Prescott: 'My wife thought I'd just retire, but I'm not a slippers man'

'My wife thought I'd just retire, but I'm not a slippers man'

At 73, John Prescott isn't mellowing. In fact he's taking a shot at becoming a police commissioner