document.write( "Question 295508: How do you set up an equation to solve problems that have two consecutive odd/even positive integers adding up to a certain sum. For example, the sum of the square of two consecutive odd positive integers is 130, find the values of the two integers. I know that they're 7 and 9, but only through guess and check. How would I set up an equation to solve problems like that? \n" ); document.write( "
Algebra.Com's Answer #212955 by edjones(8007)\"\" \"About 
You can put this solution on YOUR website!
Let the numbers be x and x+2
\n" ); document.write( "x^2+(x+2)^2=130
\n" ); document.write( "x^2+x^2+4x+4=130
\n" ); document.write( "2x^2+4x-126=0
\n" ); document.write( "x^2+2x-63=0
\n" ); document.write( "(x+9)(x-7)=0
\n" ); document.write( "x=7, x+2=9
\n" ); document.write( ".
\n" ); document.write( "Ed
\n" ); document.write( "
\n" );