Problems request results modulo prime numbers, because alternatives, namely a query for a floating-point result, giving "high bits" and requesting the whole result, are not always what the problem installer is looking for.
- " " . , .
- " ", , .
- , , , , .
- , " ".
10 ^ 9 + 7 . " ". :
10 ^ 9 + 7 - . , " " ; - , pq, p q , .
, 10 ^ 9 + 6, 10 ^ 9 + 7-1, . , 10 ^ 9 + 7 , , .