Jacobi symbol: Difference between revisions

Content deleted Content added
Line 780:
end
a, n = n, a
res = -res if ([a % 4 ==, n % 4)] == [3, 3]
end
n == 1 ? res : 0