Saturday, 22 August 2015

elementary number theory - Quadratic congruences in which modulus is divisible by constant term



There are two similar congruences:
x26x16(mod512)y2y16(mod512)


It is easy to see that the gcd of all three parts in both of them is 16, x and x6 are even and one of y and y1 is odd. After also noticing xx6(mod4) we have

x0(mod8)orx60(mod8)

y0(mod16)ory10(mod16)


Making substitutions x=8n,x=8n+6,y=16m,y=16m+1 I obtained congruences with modulus 32, but couldn't make it any further. I also discovered that the first congruence can be rewritten as (x+2)(x8)0(mod512) while 2 and 8 appear to be its solutions. However, it's still not clear to me whether there are more of them.
What am I missing? How can such congruences be solved?


Answer



The first one is easy. You need (x8)(x+2) divisible by 512. Both x+8 and x2 are even, but only one of them can have higher powers of 2 as factors. Thus, x8(mod256) or x2(mod256).



The second requires more care.



First assuming y0(mod16) you have y=16y0 and 16y20=y0+1(mod32)



Since 16y20 is even, y0+1 is even, so y0 is odd. When y0 odd, 16y2016(mod32), so y015(mod32)= and y1615=240(mod512).




Second, assume y=16y0+1. Then 16y201y0(mod32)

So y0 is odd, 1y016(mod32), or y017(mod32). So y1617+1=273(mod512)



So the two solutions are y240,273(mod512).



Note that the sum of these two values is 1(mod512), as befits the two roots of any quadratic equation of the form x2x+C=0.



Indeed, we have (y240)(y273)y2y16(mod512), so these are the only solutions, since only one of y240 and y273 can be even.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...