Previous: Modular ArithmeticUp: Number Theory

Similar Congruences

Table of Contents

1. Similar Congruences

Consider solutions to the simultaneous congruences:

(1)xa1modnp(2)xa2modnq

with p>=q. Now from (1):

xa1=λnpFor some λZ.xa1modnqusing n^{q} | n^{p}a1a2modnq

Hence a1=a2modnq is a necessary condition for solutions to exist. Suppose this is true, ie:

(3)xa1modnp(4)xa1modnq

Then the set of solutions to (3) are a subset of the set of solutions to (4), hence we need only consider xa1modnp.

Author: root

Created: 2025-02-15 Sat 15:26

Validate