Project Euler #110: Diophantine reciprocals II

  • Asked to answer
    + 1 comment

    You should find all x,y that verify the given equation and give the number of the solution just note that (x,y) and (y,x) are considered one solution. Start first by finding the writing of X and Y using arithmetics

    • + 1 comment

      As per Algo description, n=1260 than we will have 113 distinct solution, what are those value of solution and what are x and y value which cover 113 possiblity. need small example if possible

      • + 0 comments

        these are some example for n=8 we should find all x,y that verify x*y/(x+y)=8 And we get (9,8*9) (2*6,4*6) (4*6,2*6) (8*9,9 ) (2*5,8*5) (4*4,4*4) (8*5,2*5) (4*3,8*3) (8*3,4*3) (8*2,8*2) By removing none distinct We get (9,8*9) (2*6,4*6) (2*5,8*5) (4*4,4*4) try to find x,y using arithmetic