Modular arith, number theory problem

imranq
Messages
57
Reaction score
1

Homework Statement



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

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 interesting as the square get bigger and do more "loops" in the modular arithmetic...
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K