View Single Post
Old 2018-02-19, 21:34   #8
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

8,369 Posts
Default

Code:
forprime(x=1,10,forprime(y=x+1,100, for(z=1,y-1,if(lift(Mod(x,y)^z)==n-1,print(x","y","z);next(2)))))
Here's a code to help you carpetpool.
science_man_88 is offline   Reply With Quote