Prove that [a/b]+[2a/b]+....+[(b-1)a/b]=(a-1)(b-1)/2

Click For Summary
SUMMARY

The discussion centers on proving the equation $$\sum_{r=1}^{b-1}[\frac{ra}{b}]=\frac{(a-1)(b-1)}{2}$$, where [.] denotes the greatest integer function and a and b are coprime. The solution involves manipulating the sum by adding and subtracting terms to approach the desired result. Key insights include the periodic nature of the fractional part function and the symmetry in the sums of remainders when divided by b, leading to the conclusion that both sums contribute equally to the final result.

PREREQUISITES
  • Understanding of the greatest integer function and its properties
  • Familiarity with fractional parts and periodic functions
  • Basic knowledge of number theory, specifically coprime integers
  • Experience with summation techniques in mathematical proofs
NEXT STEPS
  • Study the properties of the greatest integer function in detail
  • Learn about periodic functions and their applications in summation
  • Explore number theory concepts related to coprime integers
  • Practice advanced summation techniques and their proofs
USEFUL FOR

Mathematics students, educators, and anyone interested in number theory and advanced summation techniques will benefit from this discussion.

Titan97
Gold Member
Messages
450
Reaction score
18

Homework Statement


Prove that $$\sum_{r=1}^{b-1}[\frac{ra}{b}]=\frac{(a-1)(b-1)}{2}$$ where [.] denotes greatest integer function and a & b have no common factors.

Homework Equations


##n\le [n]<n+1##
<x> denotes fractional part of x.

3. The Attempt at a Solution

I first added and subtracted ##a/b + 2a/b +3a/b +...+(b-1)a/b## to get:
$$\frac{a(b-1)}2-\sum_{r=1}^{b-1}<\frac{ra}{b}>$$ where <.> denotes fractional part. This way I got closer to the answer. Also, <x> is a periodic function and it would be better to convert [.] to <.>. But I am stuck at this step.
 
Physics news on Phys.org
It can be interesting to have a look at
$$\sum_{r=1}^{b-1}<\frac{ra}{b}> + \sum_{r=1}^{b-1}<\frac{b-ra}{b}>$$
 
  • Like
Likes   Reactions: Titan97
##\frac{b-ra}{b}=1-\frac{ra}{b}##.
The sum will be b-1
 
Sure. The two sums are the same if you transform one of them, so both contribute (b-1)/2.
 
  • Like
Likes   Reactions: Titan97
That solves the problem. But how did you do that post #2 magic? Did it pop in your mind when you saw the question? Or have you come across problems like these before? Is it because of practice?
 
The sum runs over all remainders of n/b, and it does so in a symmetric way.
That trick is not so uncommon.
 
  • Like
Likes   Reactions: Titan97

Similar threads

Replies
6
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K