anwn+1-bnwn+cnwn-1=dn,