document.write( "Question 1151144: Five integers between 440 and 500 can each be expressed as the sum of two
\n" ); document.write( "different squares in two different ways. Find their median.
\n" ); document.write( "

Algebra.Com's Answer #772801 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "The 5 numbers that meet the description are 442, 445, 481, 485, 493\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Based on what is shown below:
\n" ); document.write( "1^2 + 21^2 = 1 + 441 = 442
\n" ); document.write( "9^2 + 19^2 = 81 + 361 = 442
\n" ); document.write( "-------------
\n" ); document.write( "2^2 + 21^2 = 4 + 441 = 445
\n" ); document.write( "11^2 + 18^2 = 121 + 324 = 445
\n" ); document.write( "-------------
\n" ); document.write( "9^2 + 20^2 = 81 + 400 = 481
\n" ); document.write( "15^2 + 16^2 = 225 + 256 = 481
\n" ); document.write( "-------------
\n" ); document.write( "1^2 + 22^2 = 1 + 484 = 485
\n" ); document.write( "14^2 + 17^2 = 196 + 289 = 485
\n" ); document.write( "-------------
\n" ); document.write( "3^2 + 22^2 = 9 + 484 = 493
\n" ); document.write( "13^2 + 18^2 = 169 + 324 = 493
\n" ); document.write( "-------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I used a perl script to search for all the integers between 440 and 500, excluding the endpoints (see note below), such that the integer could be broken down into a sum of two distinct squares.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Note: we can express 500 as a sum of two different squares in two different ways
\n" ); document.write( "4^2 + 22^2 = 16 + 484 = 500
\n" ); document.write( "10^2 + 20^2 = 100 + 400 = 500
\n" ); document.write( "but that would mean we're dealing with 6 values instead of 5. So it appears we are ignoring the endpoints 440 and 500. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We are also ignoring 450
\n" ); document.write( "3^2 + 21^2 = 9+441 = 450
\n" ); document.write( "15^2 + 15^2 = 225+225 = 450
\n" ); document.write( "because the second summation line has us adding the same square to itself, ie we dont have two distinct square numbers here. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Once again the five numbers are: 442, 445, 481, 485, 493\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The median is the middle most value. In this case, it would be the value in the third slot.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: 481
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );