Searched refs:legendre_symbol (Results 1 – 2 of 2) sorted by relevance
1153 def legendre_symbol(a, p): function1161 if legendre_symbol(a, p) != 1:1176 while legendre_symbol(n, p) != -1:
117 def legendre_symbol(a, p): function128 if legendre_symbol(a, p) != 1:141 while legendre_symbol(n, p) != -1: