← RoseCode

ROSECODE 362

Egyptian equation I

Philippe_57721 · Programming ·

The equation 1x+1y=1n with 0<xy has 14 solutions for n=12345:
  • 112346+1152411370=112345
  • 112348+150812020=112345
  • 112350+130492150=112345
  • 112354+116945570=112345
  • 112360+110172280=112345
  • 112370+16108306=112345
  • 112390+13398990=112345
  • 112420+12044332=112345
  • 112570+1689674=112345
  • 113168+1197520=112345
  • 114814+174070=112345
  • 116460+149380=112345
  • 119752+132920=112345
  • 124690+124690=112345

How many solutions are there for n=2091129587 ?

Answer format: count,x,y

Example: 14,200392,273453272 for n = 12345

[My timing: 12 sec]