Modular arith, number theory problem

imranq
Messages
57
Reaction score
1

Homework Statement



Find the number of roots for the equation x^2+1=0 \mod n \: for \: n = 8,9,10,45

Homework Equations


The Attempt at a Solution



I have no idea where to start. Could someone help me understand?
 
Physics news on Phys.org
Do you understand what mod refers to?
 
yea, mod is used to represent items in terms of base n. But I don't understand how that is going to change the number of roots in the problem
 
not sure but is this like modular arithmetic below?

so for the case n = 2,
try x = 0, 02+1= 1mod2 = 1 - FALSE
try x = 1, 12+1= 2mod2 = 0 - TRUE
x = 1 is the only for the n = 2 case

so for the case n = 3,
try x = 0, 02+1= 1mod2 = 1 - FALSE
try x = 1, 12+1= 2mod3 = 2 - FALSE
try x = 2, 32+1= 2mod3 = 0 - TRUE
x = 1 is the only solution for the n = 3 case

will start getting more intersting as the square get bigger and do more "loops" in the modular arithmetic...
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top