(1+ω)7=(1+ω)(1+ω)6=(1+ω)(−ω2)6=1+ω⇒A+Bω=1+ω⇒A=1,B=1​