A number theory problem

Let ( a , b ) (a,b) denote the greatest common divisor of integers a a and b b .

If n 2 n\ge 2 , evaluate

j = 1 n 1 1 ( n , j ) . \sum _{ j=1 }^{ n-1 } \left\lfloor \cfrac { 1 }{ (n,j) } \right\rfloor.


Source: Galois-Noether Contest 2017
n ϕ ( n ) \cfrac { n }{ \phi (n) } ϕ ( n ) \phi (n) n n 1 1

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Oliver Papillo
Apr 12, 2017

Where x x is a positive integer, 1 x = 1 \lfloor\frac{1}{x}\rfloor = 1 when x = 1 x = 1 and 1 x = 0 \lfloor\frac{1}{x}\rfloor = 0 otherwise.

So the sum for n n is equal to the number of positive integers j j less than n n such that g c d ( n , j ) = 1 gcd(n,j) = 1 .

This is exactly what ϕ ( n ) \phi(n) is defined as, so the sum is always equal to ϕ ( n ) \phi(n) .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...