You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This is the no. of numbers less that p^a which are coprimes of p^a
* ie, coprimes of p^a in the range 1, 2, 3, 4,........., p^a
* Since p is a prime all the no. except multiples of p will be coprimes to p^a
* ie, All the no.s except 1, 1p, 2p, ....., (p^(a-1))*p, (note : excluding the last one), ie there are a total of a-1 no.s which are not coprimes of p^a
* So F(p^a) = p^a - (No. of numbers which are not coprimes) = p^a - p^(a-1) = p^a[1-(1/p)]