To solve the problem, we need to find the number of integer triples (x,y,z) that satisfy the following system of congruences modulo 13:
x−yz2xz+y≡≡1(mod13)4(mod13)
where 0≤x<13, 0≤y<13, and 0≤z<13.
1. **Express x in terms of y and z:**
From the first congruence, we have:
x≡1+yz2(mod13)
2. **Substitute x into the second congruence:**
Substitute x from the first congruence into the second congruence:
(1+yz2)z+y≡4(mod13)
Simplify the equation:
z+yz3+y≡4(mod13)
Combine like terms:
y(z3+1)+z≡4(mod13)
Rearrange to solve for y:
y(z3+1)≡4−z(mod13)
3. **Analyze the equation y(z3+1)≡4−z(mod13):**
We need to determine when z3+1≡0(mod13). This occurs when z3≡−1(mod13).
4. **Find values of z such that z3≡−1(mod13):**
We need to check which values of z satisfy this condition. We can test each value of z from 0 to 12:
z0123456789101112z3(mod13)01827≡164≡12125≡8216≡8343≡5512≡5729≡11000≡121331≡121728≡12
We see that z3≡−1(mod13) when z≡4,10,12(mod13).
5. **Case analysis for z:
- Case z≡4:**
y(43+1)≡4−4(mod13)
y(64+1)≡0(mod13)
y⋅65≡0(mod13)
Since 65≡0(mod13), any value of y works. There are 13 possible values for y (0 to 12). For each y, x is uniquely determined by x≡1+yz2(mod13). Thus, there are 13 solutions in this case.
- **Case z≡10 or z≡12:**
y(z3+1)≡4−z(mod13)
For z=10:
y(103+1)≡4−10(mod13)
y(1000+1)≡−6(mod13)
y⋅1001≡−6(mod13)
Since 1001≡0(mod13), there is no solution because −6≡0(mod13).
For z=12:
y(123+1)≡4−12(mod13)
y(1728+1)≡−8(mod13)
y⋅1729≡−8(mod13)
Since 1729≡0(mod13), there is no solution because −8≡0(mod13).
6. Count the total number of solutions:
- There are 13 solutions when z≡4.
- There are no solutions when z≡10 or z≡12.
Therefore, the total number of solutions is:
13+0+0=13
The final answer is 13