Find, as a function of $\, n, \,$ the sum of the digits of \[ 9 \times 99 \times 9999 \times \cdots \times \left( 10^{2^n} - 1 \right), \] where each factor has twice as many digits as the previous one.
Problem
Source: USAMO 1992
Tags: function, induction, geometric series, number theory unsolved, number theory
29.10.2005 11:49
The answer is $9*2^n$ Now if anyone can prove it ... by the way is there some kind of formula for the sum of the digits of a number .. ? or ...
29.10.2005 13:22
Try using induction on $n$!
02.02.2006 01:45
Sorry, the proof is invalid. I made a stupid mistake.
21.08.2006 00:26
I'll try to post a solution
21.08.2006 06:21
Let s(n) denote the sum of digits and $n<10^{k},10\not |n$, then $s((10^{k}-1)n)=s(10^{k}(n-1)+1+999...9-n)=9*k$. Therefore $s(10^{2^{n}}-1)m)=9*2^{n}$.
05.10.2022 02:01
Consider the polynomial$$(X-1)(X^2-1)(X^4-1) \cdots (X^{2^n} - 1).$$The main idea is to connect the coefficients of this polynomial to the sum of digits of the resulting number. Notice that for every $0 \leq k \leq 2^{n+1} - 1$, the coefficient of $X^k$ is either 1 or $-1$; in particular, it is 1 if the number of zeroes in the binary representation of $k$ is even and $-1$ otherwise. Furthermore, check that every $-1$ coefficient contributes $9-1=8$ to the sum of the digits and every coefficient of 1 contributes 1 to the sum of the digits. However, it is well-known that exactly half of the integers from 0 to $2^{n+1} - 1$ have an even number of zeroes, so the total sum is simply $\boxed{9 \cdot 2^n}$.
02.06.2023 06:47