How many pairs(A,B) are there up to n such that GCD(A,B)=B without those pairs(A,B), where B^2=A.
If we consider 5 as n we have 25 possible pairs.They are (1,1),(1,2),(1,3),(1,4),(1,5),(2,1),(2,2),(2,3),(2,4),(2,5),...,(5,5).
Of them, 8 pairs satisfy the above condition.My main objective is to...