int JACOBI long long int return JACOBI n1 a1

1
2
3
4
5
6
7
8
9
int JACOBI(long a, long n)
{
int s;
.............
return s * JACOBI(n1, a1);
}