document.write( "Question 1202122: On a string of pearls, the largest pearl is in the center and the smallest pearls are on the
\n" ); document.write( "ends. Each of the small pearls on the two ends costs $1; each of the next larger pearls costs
\n" ); document.write( "$2 each; the third pearl from each end costs $3 each; and so on. On the basis of this plan,
\n" ); document.write( "how much would a string of 9 pearls cost? 12? 25? n? what equation can be used to find the cost of any number of pearls?
\n" ); document.write( "

Algebra.Com's Answer #836776 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The analysis of the problem is different depending on whether the number of pearls is even or odd. Trying to find a single formula for the cost of any string of n pearls will be very awkward, so it's much better to find separate formulas for the two cases.

\n" ); document.write( "First case: the number of pearls n is odd

\n" ); document.write( "let the number of pearls be 2k+1, where k is an integer

\n" ); document.write( "The cost of the first k+1 pearls is 1+2+...+k+(k+1); the cost of the last k pearls is k+(k-1)+...+2+1. The total cost of the pearls is then

\n" ); document.write( "

\n" ); document.write( "So when the number of pearls is odd, n = 2k+1, the total cost of the pearls is (k+1)^2.

\n" ); document.write( "Second case: the number of pearls is even

\n" ); document.write( "let the number of pearls be 2k, where k is an integer

\n" ); document.write( "The cost of the first k pearls is 1+2+...+k; and the sum of the last k pearls is the same. The total cost of the pearls is then

\n" ); document.write( "\"2%28k%28k%2B1%29%2F2%29=k%28k%2B1%29\"

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

\n" ); document.write( "If the number of pearls is odd (n=2k+1), then the total cost of the pearls is (k+1)^2

\n" ); document.write( "If the number of pearls is even (n=2k), then the total cost of the pearls is k(k+1)

\n" ); document.write( "Informally, determining the cost of a strand of n pearls can be described as follows:

\n" ); document.write( "If n is odd, add 1 to n, divide by 2, and square the result.
\n" ); document.write( "If n is even, divide n by 2 and multiply the result by the next integer.

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