Jul 4, 2020 at 6:33am
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 Jul 4, 2020 at 7:07am
Jul 4, 2020 at 8:36pm
That's intriguing. Everything I try seems to give B(N)=N
Jul 5, 2020 at 2:44am
oh
Last edited on Jul 5, 2020 at 3:36am
Jul 5, 2020 at 3:30pm
@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.