NAT · 2 marks · Discrete Mathematics

GATE CS 2014 CS-3 — Q50

There are two elements x,yx, y in a group (G,∗)(G, \ast) such that every element in the group can be written as a product of some number of x's and yy's in some order. It is known that

x∗x=y∗y=x∗y∗y∗x=y∗x∗y∗x=ex \ast x = y \ast y = x \ast y \ast y \ast x = y \ast x \ast y \ast x = e

where ee is the identity element. The maximum number of elements in such a group is __________.