document.write( "Question 805429: Doug was looking down over Jim's shoulder,\" That's my new permit number\" he said,\" What's wrong with it\"?
\n" );
document.write( "\"Nothing,Dad,but look\" the boy replied,
\n" );
document.write( "\" If you subtract the square of the last pair of digits from the square of the other three,you get seven less than the number,
\n" );
document.write( "And you always say seven's your lucky number?
\n" );
document.write( "What was the number.? \n" );
document.write( "
Algebra.Com's Answer #485533 by ankor@dixie-net.com(22740) You can put this solution on YOUR website! If you subtract the square of the last pair of digits from the square of the other three, you get seven less than the number, \n" ); document.write( "What was the number.? \n" ); document.write( ": \n" ); document.write( "Let a = the value of the 1st three digits \n" ); document.write( "Let b = the value of the last two digits \n" ); document.write( ": \n" ); document.write( "a^2 - b^2 = 100a+b - 7 \n" ); document.write( ": \n" ); document.write( "Could not readily come up with a method to solve this \n" ); document.write( "Wrote a short Basic program and it spit out: \n" ); document.write( "10727 \n" ); document.write( ": \n" ); document.write( "The program \n" ); document.write( "10 Print \"Subtract the square of the last pair of digits from the square \n" ); document.write( " of the other three, you get seven less than the number\":print \n" ); document.write( "20 For a = 100 to 999 \n" ); document.write( "30 for b = 10 to 99 \n" ); document.write( "40 x = a^2 - b^2 \n" ); document.write( "50 y = 100*a + b \n" ); document.write( "60 if x - y = -7 then print a;b \n" ); document.write( "70 next b \n" ); document.write( "80 next a \n" ); document.write( "100 end\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |