document.write( "Question 519617: Hello,
\n" );
document.write( "I have a quick question and would like to see the answer thank you. Please response back as soon as possible.\r
\n" );
document.write( "\n" );
document.write( "The difference of the squares of two positive integers which differ by 2 is a perfect square n^2 . Find all possible values of n.\r
\n" );
document.write( "\n" );
document.write( "I will be waiting for your response and thank you.\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #345721 by Edwin McCravy(20059)![]() ![]() You can put this solution on YOUR website! \r\n" ); document.write( "Two positive integers that differ by 2 can always be written as k+1 and k-1,\r\n" ); document.write( "k>=2\r\n" ); document.write( "\r\n" ); document.write( "The difference of their squares is\r\n" ); document.write( "\r\n" ); document.write( "(k+1)²-(k-1)² = 4k \r\n" ); document.write( "\r\n" ); document.write( "4k will be a perfect square if and only if k is a perfect square.\r\n" ); document.write( "\r\n" ); document.write( "So let k = m²\r\n" ); document.write( "\r\n" ); document.write( "Then (k+1)²-(k-1)² = 4k = 4m² = (2m)² = n². Thus n = 2m\r\n" ); document.write( "\r\n" ); document.write( "I.e., n can be and can only be any even positive integer.\r\n" ); document.write( "\r\n" ); document.write( "Edwin\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |