Prime Factors Problem

How many positive integers less than 180 180 are relatively prime to 180 180 ?


The answer is 48.

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.

2 solutions

Chew-Seong Cheong
Jul 26, 2020

The number of relatively prime or coprime positive integers less than n n is given by the Euler's totient function ϕ ( n ) \phi (n) . If n = p 1 q 1 p 2 q 2 p 3 q 3 p m q m n = p_1^{q_1} p_2^{q_2} p_3^{q_3} \cdots p_m^{q_m} , where p 1 , p 2 , p 3 , p m p_1, p_2, p_3, \cdots p_m are the prime factors of n n and q 1 , q 2 , q 3 , q m q_1, q_2, q_3, \cdots q_m are their respective powers, then

ϕ ( n ) = n ( 1 1 p 1 ) ( 1 1 p 2 ) ( 1 1 p 3 ) ( 1 1 p m ) \phi(n) = n \left(1 - \frac 1{p_1} \right) \left(1 - \frac 1{p_2} \right) \left(1 - \frac 1{p_3} \right) \cdots \left(1 - \frac 1{p_m} \right)

Therefore,

ϕ ( 180 ) = 180 ( 1 1 2 ) ( 1 1 3 ) ( 1 1 5 ) = 180 ( 1 2 ) ( 2 3 ) ( 4 5 ) = 48 \begin{aligned} \phi (180) & = 180 \left(1 - \frac 12 \right) \left(1 - \frac 13 \right) \left(1 - \frac 15 \right) \\ & = 180 \left(\frac 12 \right) \left(\frac 23 \right) \left(\frac 45 \right) \\ & = \boxed {48} \end{aligned}

It's all about Euler's totient function. ϕ ( 180 ) = ϕ ( 2 2 3 2 5 1 ) = 2 2 1 ( 2 1 ) × 3 2 1 ( 3 1 ) × ( 5 1 ) = 48 \phi (180)=\phi (2^23^25^1)=2^{2-1}(2-1)\times 3^{2-1}(3-1)\times (5-1)=\boxed {48} .

:) I like your name

genius kid - 9 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...