document.write( "Question 1138693: An ice-cream parlor has one size of ice-cream cone for 7 cents and another for a cents. One afternoon when the smaller cones outsold the larger ones two to one, the sale totaled 6.21 pesos. How many cones of each size were sold? \n" ); document.write( "
Algebra.Com's Answer #756523 by greenestamps(13203)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "\"... a cents...\"???

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

\n" ); document.write( "After seeing the response from the other tutor, I see that perhaps you really do mean a cents each for the other cones, and we are supposed to find all solutions for which the total sales is 6.21 pesos = 621 cents.

\n" ); document.write( "So let x be the number of cones sold at a cents each; then the number sold at 7 cents each is 2x. Then if the total sales was 621 cents,

\n" ); document.write( "\"2x%287%29%2Bx%28a%29+=+621\"
\n" ); document.write( "\"14x%2Bax+=+621\"
\n" ); document.write( "\"%2814%2Ba%29x+=+621\"

\n" ); document.write( "To find solutions in integers, find the prime factorization of the total sales number.

\n" ); document.write( "\"%2814%2Ba%29x+=+621+=+3%2A3%2A3%2A23\"

\n" ); document.write( "So (14+a) has to be in integer that is a divisor of 621; with this prime factorization of 621, there are two possibilities:
\n" ); document.write( "(14+a) = 23 --> a = 9; or
\n" ); document.write( "(14+a) = 3*3*3 = 27 --> a = 13

\n" ); document.write( "Solution #1: If (14+a) = 23, making a = 9, then x = 3*3*3 = 27. This gives us x=27 cones at 9 cents each and 2x=54 cones at 7 cents each.

\n" ); document.write( "CHECK: 27(9)+54(7) = 243+378 = 621

\n" ); document.write( "Solution #2: If (14+a) = 3*3*3 = 27, making a = 13, then x = 23. This gives us x=23 cones at 13 cents each and 2x=46 cones at 7 cents each.

\n" ); document.write( "CHECK: 23(13)+46(7) = 299+322 = 621

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