Distinct powers for a sequence a**b