Finds distinct elements in list obtained from expression a^b