+0  
 
+1
652
6
avatar

Determine the residue of \(-811\pmod{24}.\) Your answer should be an integer in the range \(0,1,2,\ldots,22,23\).

 Nov 13, 2020
 #1
avatar+128473 
+2

-811   mod 24

 

One way of doing this  :

 

Thinking "backwards".....note  that  811/24  =   33.79......

 

Round this up to the  next integer =  34 

 

And note that   34 *24  = 816

 

The  residue  =   816 - 811   =   5

 

cool cool cool

 Nov 13, 2020
 #2
avatar
0

\(5\) is correct! Great job CPhill I love the way you solved this. smiley

Guest Nov 13, 2020
 #3
avatar+128473 
0

Thanks.....I have a feeling that there is  some easy algorithm available to derive mods of negative integers, but I do not know what it is......

 

 

cool cool cool

CPhill  Nov 13, 2020
 #4
avatar+33615 
+3

Like so

Alan  Nov 13, 2020
 #5
avatar
0

xxxxxxxx

Guest Nov 13, 2020
edited by Guest  Nov 13, 2020
 #6
avatar+128473 
0

Thanks, Alan  !!!!!

 

 

cool cool cool

CPhill  Nov 13, 2020

2 Online Users