document.write( "Question 1162885: For how many integers n is n^2 + 18n + 13 a perfect square? \n" ); document.write( "
Algebra.Com's Answer #786798 by jim_thompson5910(35256)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "This is something you do through trial and error. Though there may be a clever proof or trick to be able to find all values of n quickly (I'm blanking on what that method would be). \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "I used a perl script to try out values of n from -1000 to 1000. The only two integers that make n^2 + 18n + 13 to be a perfect square are n = -27 and n = 9\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If n = -27, \n" ); document.write( "n^2 + 18n + 13 = (-27)^2 + 18(-27) + 13 = 256\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If n = 9, \n" ); document.write( "n^2 + 18n + 13 = (9)^2 + 18(9) + 13 = 256\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Both values of n lead to the same perfect square.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "It's quite possible that there may be more solutions. I'm not entirely sure as I only tested from n = -1000 to n = 1000. \n" ); document.write( " \n" ); document.write( " |