document.write( "Question 478021: Find three consecutive positive integers such that the sum of the squares of the first and second equals the square of the third. \n" ); document.write( "
Algebra.Com's Answer #327546 by jorel1380(3719)\"\" \"About 
You can put this solution on YOUR website!
p2+(p+1)2=(p+2)2
\n" ); document.write( "p2+p2+2p+1=p2+4p+4
\n" ); document.write( "p2-2p-3=0
\n" ); document.write( "(p-3)(p+1)=0
\n" ); document.write( "p=3 or -1
\n" ); document.write( "Throwing out the negative answer, we get p=3, p+1=4, and p+2=5..
\n" ); document.write( "
\n" );