Maple.
with(numtheory):
legendre(31,43);
I found the answer to be 1 though...
Calculate the legendre symbol using quadratic reciprocity
I have calculated this and found it to be -1.
I am wondering if there is a way to check my answer. I tried to check on scientific notebook but that does not seem to have a function for the legendre symbol and i cannot find any online software for this.
i had split 12/31
into 6 lots of 2/31 and then used the property that p is a prime of the form 8k-1 and thus 2/31 =1. Which works out the same except that i had forgotten the negative sighn from the first calculation of 31/43=-(43/31)
Thaks for the help though this method seems a bit easier.