FS="+|="{for(a=$3;s=$2%$1-s;)print s;$0=a%$1?"no":"yes"}a
4 2x+3y=5 6x+8y=25 4x+4y=11 8x+6y=4
1 no 2 no no 6 no
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!