j
k
j a
j l
I think you forgot about the check that g == gcd(a,b) (in this case 1), though. The current test would allow an incorrect result such as ({32,1,1}).
Back to the thread
Back to the list