please help me how to approach this problem
A(x) and B(x) are 2 functions .
A(x)= Number of i where 1<=i<=x and gcd(i,x)=1
B(x)= sum of A(d) where d divides the number x
print B(N)
where value of N will be given.
Last edited on
That's intriguing. Everything I try seems to give B(N)=N
oh
Last edited on
@marksman2op,
Thanks for the links. You should edit your post and remove the period at the end of the first link. It causes the link to fail.