If a and b are positive integers with no common factor , show that

[a/b] + [2a/b] + [3a/b] + ... + [(b-1)a/b] = (a-1)(b-1)/2,

where [.] denotes the greatest integer function.

let ...........(1)

writing the terms in reverse order:

..............(2)

adding eq(1) and eq(2):

............(3)

let where I denotes the integral part and f denotes the fractional part.

therefore

similarly let where are the integral and fractional parts respectively.

similarly all the pairs in eq(3) result a-1.

thus:

hope this helps you.

cheers!!

  • 47
What are you looking for?