document.write( "Question 170677: Find a five digit number in which the second and fourth digits are the same, the third digit is the sum of the first and second, the fifth digit is the sum of the third and fourth and the third digit is one more than the first and one less than the fifth. The sum of all the digits is 14. \n" ); document.write( "
Algebra.Com's Answer #126073 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Find a five digit number in which the second and fourth digits are the same,
\n" ); document.write( "ABCBE
\n" ); document.write( ":
\n" ); document.write( " the third digit is the sum of the first and second,
\n" ); document.write( "C = A+B
\n" ); document.write( ":
\n" ); document.write( "the fifth digit is the sum of the third and fourth
\n" ); document.write( "E = C + B
\n" ); document.write( ":
\n" ); document.write( "the third digit is one more than the first
\n" ); document.write( "C = A + 1
\n" ); document.write( "A = C - 1
\n" ); document.write( ":
\n" ); document.write( "Also the third digit is one less than the fifth.
\n" ); document.write( "C = E - 1
\n" ); document.write( "E = C + 1
\n" ); document.write( ";
\n" ); document.write( " The sum of all the digits is 14.
\n" ); document.write( "A + B + C + B + E = 14
\n" ); document.write( "A + 2B + C + E = 14
\n" ); document.write( ":
\n" ); document.write( "Looking at our equations we see:
\n" ); document.write( "E = C + B
\n" ); document.write( "And
\n" ); document.write( "E = C + 1
\n" ); document.write( "Therefore
\n" ); document.write( "B = 1
\n" ); document.write( ":
\n" ); document.write( "Substituting 1 for B in the Sum equation
\n" ); document.write( "A + 2(1) + C + E = 14
\n" ); document.write( "A + C + E = 14 - 2
\n" ); document.write( "A + C + E = 12
\n" ); document.write( ":
\n" ); document.write( "Substitute (C-1) for A, and (C+1) for E, find C
\n" ); document.write( "(C-1) + C + (C+1) = 12
\n" ); document.write( "3C = 12
\n" ); document.write( "C = 4
\n" ); document.write( "Then
\n" ); document.write( "A = 4 - 1
\n" ); document.write( "A = 3
\n" ); document.write( "and
\n" ); document.write( "E = 4 + 1
\n" ); document.write( "E = 5
\n" ); document.write( ":
\n" ); document.write( "Our number is: 31415
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check solution:
\n" ); document.write( " the third digit is the sum of the first and second,
\n" ); document.write( "4 = 3 + 1
\n" ); document.write( ":
\n" ); document.write( " the fifth digit is the sum of the third and fourth
\n" ); document.write( "5 = 4 + 1
\n" ); document.write( ":
\n" ); document.write( "and the third digit is one more than the first and one less than the fifth.
\n" ); document.write( "4 = 3 + 1
\n" ); document.write( ":
\n" ); document.write( " The sum of all the digits is 14.
\n" ); document.write( "3 + 1 + 4 + 1 + 5 = 14
\n" ); document.write( "
\n" );