#Simple divisibility equation
24 messages · Page 1 of 1 (latest)
how can x be 1?
that will result in divisioon by 0
x-1|x so x/x-1 is an integer
split the fraction as (x-1+1)/(x-1) => x-1/x-1 +1/x-1
1+ 1/x-1 = integer so 1/x-1 is an integer
Silly mistake on my part
And how do you solve 1/x-1 is an integer ith algebra?
for 1/x-1 to be an integer, x-1|1 which is possible if |x-1| = 1 so x= 2 or 0
Ok ok
you could think of it this way
x is a neighbor of x - 1
which means certainly gcd(x, x - 1) = 1
or they're coprime
they can't divide each other except for very trivial solutions
that is you could do this
x - 1 = +-1
1 divides x in Z
and so does -1
want you want is the value of x such that x - 1 is equal to either
so you solve for x and you get
x = 0, 2
nah ignore that
.close