An Indian bride has walked out of her own wedding after the groom failed to solve a simple maths problem.

The woman stormed out after her husband-to-be failed to come up with the correct answer for 15 plus six. He answered 17.

Police in the northern state of Uttar Pradesh, where the wedding had been organised, said the woman's relatives put the groom to the test after becoming concerned about his level of education.

Afterwards, despite pleas from the groom's family, the wedding was called off, leaving hundreds of disgruntled guests behind.

"As soon as she learned that the man was uneducated, she refused to marry him," local police official Iddu Hasan told media agency AFP.

Police were called to intervene in the row, but it was eventually resolved by the families, who returned all the jewellery, gifts and cash traditionally exchanged at an Indian wedding.

Most marriages in India are arranged by the families of the bride and groom, and it is common for men and women to marry without having spent much time together.

AFP