If $G$ is a group in which $(a\cdot b)^i=a^i\cdot b^i$ for three consecutive integers $i$ for all $a,b\in G$, show that $G$ is abelian.
Show that the conclusion of above problem does not follow if we assume the relation $(a\cdot b)^i=a^i\cdot b^i$ for just two consecutive integers.
I have solved the first spending about 3-4 hours. However, I cannot come up with the example to problem 2.
Can anyone please help with that?