Online Course Discussion Forum

Math Challenge II-A Number Theory

 
 
LiangNeo的头像
Math Challenge II-A Number Theory
LiangNeo - 2019年07月10日 Wednesday 08:25
 

Lecture 6, Problem 6.20

Why isn't the answer -1?   -1=100 (mod 101)

 
ReynosoDavid的头像
Re: Math Challenge II-A Number Theory
ReynosoDavid - 2019年07月10日 Wednesday 11:59
 

$-1$ is one of infinitely many correct answers. To have a unique answer we usually ask for a number between $0$ and $n-1$ ($n = 101$ in this case). Your answer was marked as correct on your quiz and the question was reworded to make it clear we want a number between $0$ and $100$ as an answer. Thanks for pointing this out!