document.write( "Question 1006021: A pronic number is the product of two consecutive positive integers.
\n" ); document.write( "110 is a pronic number as 110 = 11 x 10.
\n" ); document.write( "The sum of two pronic numbers is 240.
\n" ); document.write( "What is the difference between these two numbers?
\n" ); document.write( "

Algebra.Com's Answer #622370 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
There may be simpler, more efficient ways to solve this, and I would love to hear about them, but here is what I could come up with.
\n" ); document.write( "
\n" ); document.write( "I would look for two positive integers, \"A\" and \"B\" , such that
\n" ); document.write( "\"A\" and \"B\" are pronic numbers,
\n" ); document.write( "\"A%3EB\" , and \"A%2BB=240\" .
\n" ); document.write( "Since \"240=A%2BB%3E2B%29\"--->\"120%3EB%29\" and since \"11%2A12=132%3E120\" , \"B%3C=10%2A11=110\" .
\n" ); document.write( "So, the smallest of the two pronic numbers we are looking for is one of the 10 smallest pronic numbers.
\n" ); document.write( "
\n" ); document.write( "BRUTE FORCE SOLUTION:
\n" ); document.write( "A brute force solution (trying the first ten pronic numbers) looks feasible.
\n" ); document.write( "We could try each of the pronic numbers numbers from \"B=1%2A2=2\" to \"B=10%2A11=110\"
\n" ); document.write( "and see if \"240-B%3C240\" is a pronic numbers number .
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "With a list of pronic numbers that would be easy.
\n" ); document.write( "
\n" ); document.write( "With a calculator, I would add the digits \"25\" to the right of each \"240-B\" number,
\n" ); document.write( "and take the square root to see if it is an integer.
\n" ); document.write( "That is a known property of pronic numbers.
\n" ); document.write( "I did not know that, but I took the square roots of the \"240-B%2B0.25\" ,
\n" ); document.write( "until I found that \"sqrt%28210.25%29=14.5\" ,
\n" ); document.write( "which is the same as \"sqrt%2821025%29=145\"
\n" ); document.write( "I used the fact that if \"240-B\" is pronic,
\n" ); document.write( "there is a positive integer \"n\" such and \"n%28n%2B1%29=240-B\"
\n" ); document.write( "\"n%28n%2B1%29=240-B\"
\n" ); document.write( "\"%28n%2B0.5-0.5%29%28n%2B0.5%2B0.5%29=240-B\"
\n" ); document.write( "\"%28n%2B0.5%29%5E2-0.5%5E2=240-B\"
\n" ); document.write( "\"%28n%2B0.5%29%5E2-0.25=240-B\"
\n" ); document.write( "\"%28n%2B0.5%29%5E2=240-B%2B0.25\" .
\n" ); document.write( "
\n" ); document.write( "A MORE ELEGANT SOLUTION:
\n" ); document.write( "Without a calculator,
\n" ); document.write( "I figured I was looking for the \"n%5Eth\" and \"p%5Eth\" pronic numbers,
\n" ); document.write( "\"n%2A%28n%2B1%29=%28n%2B0.5%29%5E2-0.25\" and \"p%2A%28p%2B1%29=%28p%2B0.5%29%5E2-0.25\" ,
\n" ); document.write( "with \"n\" and \"p\" positive integers, such that
\n" ); document.write( "\"%28n%2B0.5%29%5E2-0.25%2B%28p%2B0.5%29%5E2-0.25=240\"
\n" ); document.write( "\"%28n%2B0.5%29%5E2%2B%28p%2B0.5%29%5E2=240%2B0.5\"
\n" ); document.write( "\"4%28n%2B0.5%29%5E2%2B4%28p%2B0.5%29%5E2=4%2A240%2B4%2A0.5\"
\n" ); document.write( "\"%282n%2B1%29%5E2%2B%282p%2B1%29%5E2=962\" .
\n" ); document.write( "So, I need two odd numbers whose squares add to \"962\" .
\n" ); document.write( "Since odd numbers' squares end in 1, 5, or 9,
\n" ); document.write( "to add up to a sum ending in 2,
\n" ); document.write( "both squares should end in 1.
\n" ); document.write( "If the \"p%5Eth\" pronic number is the smallest of the two we are looking for,
\n" ); document.write( "and we had initially figured out that \"p%3C=10\" ,
\n" ); document.write( "the only possibilities are
\n" ); document.write( "\"2p%2B1=11\"--->\"p=5\" and \"2p%2B1=21\"--->\"p=10\" .
\n" ); document.write( "\"2p%2B1=11\"--->\"%282p%2B1%29%5E2=121\"--->\"%282n%2B1%29%5E2=962-121=841\"--->\"2n%2B1=sqrt%28841%29=29\"
\n" ); document.write( "That gives us the solution:
\n" ); document.write( " and
\n" ); document.write( " .
\n" ); document.write( "The other choice,
\n" ); document.write( "\"2p%2B1=21\"--->\"%282p%2B1%29%5E2=441\"--->\"%282n%2B1%29%5E2=962-441=521\" ,
\n" ); document.write( "does not work, because \"521\" is not a perfect square.
\n" ); document.write( "
\n" );