← Complete problem index

PROJECT EULER · #0157

Base-10 Diophantine Reciprocal

Statement only · SolvedOriginal problem ↗

Consider the diophantine equation 1a+1b=p10n with a,b,p,n positive integers and ab.
For n=1 this equation has 20 solutions that are listed below: 11+11=201011+12=151011+15=121011+110=111012+12=101012+15=71012+110=61013+16=51013+115=41014+14=51014+120=31015+15=41015+110=31016+130=210110+110=210111+1110=110112+160=110114+135=110115+130=110120+120=110

How many solutions has this equation for 1n9?

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.