document.write( "Question 707044: We had this problem at school with no help in solving. I did it by trial and error but don't know the actual formula for solving.\r
\n" ); document.write( "\n" ); document.write( "The equation was: N(four digits)/D(one digit)=1234 r5.\r
\n" ); document.write( "\n" ); document.write( "Any help on how to solve for both N and D? Thanks!\r
\n" ); document.write( "\n" ); document.write( "Raphael
\n" ); document.write( "

Algebra.Com's Answer #435478 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
You have a few numbers of only 1 digit length to choose from and test. Your choices to try are from the set, {2,3,4,5,6,7,8,9}. Those are the possible divisors to test. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "N/D=1234r5, same as N/D=1234+5/D.
\n" ); document.write( "Multiply both sides by D:
\n" ); document.write( "\"N=1234%2AD%2B5\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Test all the possible denominators of whole numbers from 2 to 9. Some are going to be better than others. I would suggest D greater than 5. 6, 7, and 8 work well. 9 will NOT work, giving a five-digit number.\r
\n" ); document.write( "\n" ); document.write( "Some what found:
\n" ); document.write( "D____________N
\n" ); document.write( "6____________7409
\n" ); document.write( "7____________8643
\n" ); document.write( "8____________9877
\n" ); document.write( "9____________11111, which is too many digits. We wanted four; not more than.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The difficulty with choosing D=5 is that we want our remainder to actually BE 5.
\n" ); document.write( "Look... 1234*5+5/5=6175, and that 6175/5=1235 which in truth is not something that really gives a remainder upon 1234. 5/5 is NOT really a remainder.
\n" ); document.write( "
\n" );