<?@l(fgets(STDIN));function l($d,$b,$c,$h){for(;$d>$h=gmp_intval(gmp_nextprime(+$h));)$b<4&&l($d-$h,$b+1,"$c$h + ",$h-1);$h^$d||print$c."$h";}
3
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!