solve 100p+r= 200r+2p+151 over integers