Saturday

April 19, 2014

April 19, 2014

Posted by **Eric** on Tuesday, April 10, 2012 at 8:41pm.

1+2+3+....+n=[n(n+1)]/2.

Using that result, find the sum of all 3-digit palindromes: a palindrome is a number that can be written as ABA, where 1=<A<=9 and 0<=B<=9. Hint: decompose ABA = 100*A + 10*B + A and use above proven result.

- Discrete Mathematics -
**MathMate**, Tuesday, April 10, 2012 at 10:56pmNote that A can vary from 1 to 9, while B can take on the digits 0 to 9.

Sum of first and third digits:

So for each value of A=a(i), the sum is 100a(i)+a(i)=101a(i).

For the 9 values of A, we have a sum of

101Σi for i=1 to 9.

Since each value of a(i) can be matched to 10 values of B, the above sum has to be multiplied by 10 to give

1010Σi for i=1 to 9.

Sum of the second digit (B)

Each digit of B is in the 10 position, so we need to multiply by 10.

The sum of the digits 0-9 are repeated 9 times for each value of A, so the sum of digits B is

9*10Σi for i=0 to 9

=90Σi for i=0 to 9

Finally, add up the two sums:

1010Σi for i=1 to 9.

+

90Σi for i=0 to 9

to get the total

**Related Questions**

Biology (Science) - Which of the following is not true about a hypothesis? 1) ...

English - (1)Once the lecture starts:let your mind dart (2)ahead during pauses ...

ENGLISH - Before class, you should look over your notes from the last(9)lecture ...

Discrete Mathematics - If f(x) = log2 (x - 2)3 and g(x) = log8 (x - 2), when is...

Discrete Mathematics - Let p and q be propositions. Use Logical equivalences to ...

Discrete Mathematics - What is the value of a that would make the matrix ...

Discrete Mathematics - Let m,n,z belong to N such that m and n divide z and gcd...

discrete mathematics - Prove that a square of an integer ends with a 0, 1, 4, 5 ...

Discrete Mathematics - 16. What is the value of a that would make the matrix ...

Discrete Mathematics - Show that the square of an oddnumber is an odd number ...