Quote:
Originally Posted by Cute.Sid
Can u please explain how the answer is 1.
Thanks
|
sorry 4 the late reply.....
mod(x+1)/mod(x)+mod(x+1)=mod(x+1)^2/mod(x)
mod(x+1){1/mod(x)+1-mod(x+1)/mod(x)}=0
so,mod(x+1)=0
or 1+mod(x)-mod(x+1)=0
mod(x+1)=0 if x=-1
if x<-1,1+mod(x)-mod(x+1)=0
1-x+x+1=0
2=0....not possible
if -1<=x<0,1-x-(x+1)=0....not possible
if x>=0,1+x-(x+1)=0
x can have any value in the interval
so,x=-1,x>0(since x is not equal to 0)
no. of negative integers is 1