0

In particular, the N’s I am looking at are multiples of 2.

Given A and N, is there a non-iterative method to identify whether or not there exists a B such that B*B = A mod N?

I know with odd A I would only need to investigate odd B values (inverse for even A) and since A^2 == (N-A)^2 (mod N) I would only need to iterate up to N/2, but is that the best I can realistically do?

Note: this is not a duplicate as Eulers criterion only seems to only work for modulo primes, whereas I am asking for modulo a multiple of 2, which is not prime

0 Answers0