If a and b are distinct integers, prove that a−b is a factor of an−bn, whenever n is a positive integer.
Open in App
Solution
When n is an even number then an−bn can be written as (an/2−bn/2)(an/2+bn/2). here if n2 is even then it can be further expanded and finally we will get (a-b)*(some thing).
now, here if n or n2 is odd then the expansion is of the form