\n" );
document.write( "Let the two perfect squares be
and 
\n" );
document.write( "
\r
\n" );
document.write( "\n" );
document.write( "
\r
\n" );
document.write( "\n" );
document.write( "Factor 53 to find possible values. Because 53 is prime, there are only two factors: 1 and 53.\r
\n" );
document.write( "\n" );
document.write( "x-y = 1
\n" );
document.write( "x+y = 53\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "Add both equations:
\n" );
document.write( "2x = 54
\n" );
document.write( "x = 27 \r
\n" );
document.write( "\n" );
document.write( "This implies y = 26 \r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "
\r
\n" );
document.write( "\n" );
document.write( "Check:
\n" );
document.write( "729 - 676 = 53\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "Because we can only factor 53 into 1*53, there is only one pair of perfect squares that differ by 53. \r
\n" );
document.write( "\n" );
document.write( "For example, if we try
\n" );
document.write( "x - y = 53
\n" );
document.write( "x + y = 1\r
\n" );
document.write( "\n" );
document.write( "Adding gives:
\n" );
document.write( "2x = 54 ==> x = 27 and y = -26\r
\n" );
document.write( "\n" );
document.write( "This also works, but the perfect squares are the same as before: 729 and 676
\n" );
document.write( "
\n" );
document.write( "Therefore, there is only one pair of perfect squares (729 and 676) whose difference is 53. \r
\n" );
document.write( "\n" );
document.write( "----
\n" );
document.write( " If you try a different difference, say 
\n" );
document.write( "you will find that there are three sets of perfect squares that have a difference of 63 (64 and 1, 144 and 81, 1024 and 961) and these correspond to the factorizations of 63 (7 * 9, 3 * 21, and 1 * 63, respectively).\r
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "