Let me get to the point. We see that 121 is a palindrome, also 12321 is a palindrome. If we were to add up the digits in each palindrome, for example, 121 we get 4. If we square root four, the root is the middle number of 121. This pattern goes on from what I worked on two years ago. Another example: 1234321 <= Palindrome 1+2+3+4+3+2+1 = 16 <= Palindrome's Digits Sum square root of 16 = 4 Also the number 11 is excluded from this pattern for obvious reason, is there any logic behind this exclusion? What is the real mathematics behind this pattern? EDIT: The palindromes are digits ranging from one to n and the same n to one. (1 + n1 + n2 + n + n2 + n1 + 1) 121 12321 1234321 123454321 This is what is meant by palindromes. EDIT: I need to clarify based on the comments. When I heard about palindromes and ran into this pattern I associated these digit sequences as palindromes. These numbers are symmetrical in terms that there is a middle digit and the digits left and right are descending being a digit till one is reached( 1, 2, 3, 2, 1). Sorry if I have mistaken these numbers as palindromes.
What is the proof behind this pattern?
572 Views Asked by user63181 https://math.techqa.club/user/user63181/detail AtThere are 3 best solutions below
On
You palindromes cited are all of the form $123.....(n-1)n(n-1)....321$.
If we add up the digits we then
$\color{red}1 + \color{green}2 + \color{blue}3 + ......... + \color{purple}{(n-1)} + $
$\color{orange}n +$
$\color{red}{(n-1)}+\color{green}{(n-2)} + \color{blue}{(n-3)} +..... + \color{purple}1$ and if we add them up in order of position (indicated by color) we get
$= [\color{red}{1+(n-1)} ]+ [\color{green}{2+(n-2)}] + [\color{blue}{2+(n-3)}] +..... + [\color{purple}{(n-1) + 1} ]+ \color{orange}n =$
$\underbrace{\underbrace{\color{red}n + \color{green}n + \color{blue}n + ......... + \color{purple}n}_{n-1\text{ terms}} +\color{orange}n}_{n\text{ terms}}=$
$n\times n = n^2$.
This should remind you of the prove that $1 + 2 + 3+ ....... + n = \frac {n(n+1)}2$.
So $(1 + 2 + 3 +....... + n)+(n-1+......+3+2+1) =\frac {n(n+1)}2 + \frac {(n-1)n}2 = n^2$.
This will only work for "ascending" palindromic numbers and not all palindromes. For example $979$ is a palindrome but $7 \ne \sqrt{9+7+9}$
BTW $123.....n.....321= {\underbrace{1111....1}_{n\text{ ones}}}^2$.
On
Saw this as a link suggested to another (more recent) question and thought I'd give you a belated graphical intuition. Let's say why, when adding digits in $123454321$ you get a square of $5$. It is because you are just counting the $5^2=25$ fields in the following square:
$$\begin{array}{ccccc}1&2&3&4&5\\2&3&4&5&4\\3&4&5&4&3\\4&5&4&3&2\\5&4&3&2&1\end{array}$$
(going from top left to bottom right you encounter "small diagonals" of length $1, 2, 3, 4, 5, 4, 3, 2, 1$, respective).
Why does $11$ not follow the pattern? Because it is not properly formed. You have to have one middle number, not two. If you have just one, this would make for the number $1$ (not $11$) and it does follow the pattern.
Sum from $1$ to $n$ is given by
$$1 + 2 + 3 + \cdots + n = \frac{n(n+1)}{2}.$$
Sum from $1$ to $n$ and then $n$ to $1$ is
$$ 1 + 2 + \cdots + n + (n-1) + \cdots + 1 = \frac{n(n+1)}{2} + \frac{n(n-1)}{2} = \frac{n^2 + n + n^2 - n}{2} = \frac{2n^2}{2} = n^2.$$
Take the square root and you get $n$, your middle number.
Reference: Proof $1+2+3+4+\cdots+n = \frac{n\times(n+1)}2$