A generalization of the Hall's sextic residue sequences