for(n=0,13,for(j=1,n-1,if(gcd(j,n)!=1,next);print(j," ",n);print(j," -",n));for(i=-n,n,if(gcd(n,i)!=1,next);print(n," ",i)))