anwn+1-bnwn=dn.