Abacaba D Abacaba

Level pending

Consider the infinite sequence A001511 in OEIS described as follows:

1: 1 *1*
2: 1 , 2 , 1 1, *2*, 1
3: 1 , 2 , 1 , 3 , 1 , 2 , 1 1, 2, 1, *3*, 1, 2, 1
4: 1 , 2 , 1 , 3 , 1 , 2 , 1 , 4 , 1 , 2 , 1 , 3 , 1 , 2 , 1 1, 2, 1, 3, 1, 2, 1, *4*, 1, 2, 1, 3, 1, 2, 1
. . . ...
: 1 , 2 , 1 , 3 , 1 , 2 , 1 , 4 , 1 , 2 , 1 , 3 , 1 , 2 , 1 , 5 , 1 , 2 , 1 , 3 , . . . \infty : 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 5, 1, 2, 1, 3, ...

The Cesaro Summation of this sequence (the limit of the arithmetic mean as more terms are taken into account) can be expressed as a b \frac{a}{b} where a a and b b are coprime positive integers. Evaluate a + b a + b .


The answer is 3.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Kenny Lau
Jul 9, 2014
  • Let f ( n ) f(n) denote the sum of all the numbers in sequence n n .
  • Let μ ( n ) \mu(n) be the arithmetic mean of sequence n n .
  • Be aware that f ( n ) = 2 f ( n 1 ) + n f(n)=2f(n-1)+n f ( 0 ) = 0 = 0 f ( 1 ) = 1 = 1 f ( 2 ) = 1 + 2 + 1 = 4 f ( 3 ) = 1 + 2 + 1 + 3 + 1 + 2 + 1 = 11 f ( 4 ) = = 26 f ( 5 ) = = 57 f ( 6 ) = = 120 \begin{array}{l} f(0)&=&0&=&0\\ f(1)&=&1&=&1\\ f(2)&=&1+2+1&=&4\\ f(3)&=&1+2+1+3+1+2+1&=&11\\ f(4)&=&\cdots&=&26\\ f(5)&=&\cdots&=&57\\ f(6)&=&\cdots&=&120 \end{array}
  • To find a pattern, the first thing I'd do is the difference method. (This name is invented by me. I am referring to the section "Second Differences" on this page .)
  • Let f ( n ) f'(n) denote f ( n + 1 ) f ( n ) f(n+1)-f(n) and f " ( n ) f"(n) denote f ( n + 1 ) f ( n ) f'(n+1)-f'(n) . f ( 0 ) = 1 0 = 1 f ( 1 ) = 4 1 = 3 f ( 2 ) = 11 4 = 7 f ( 3 ) = 26 11 = 15 f ( 4 ) = 57 26 = 31 f ( 5 ) = 120 57 = 63 \begin{array}{l} f'(0)&=&1-0&=&1\\ f'(1)&=&4-1&=&3\\ f'(2)&=&11-4&=&7\\ f'(3)&=&26-11&=&15\\ f'(4)&=&57-26&=&31\\ f'(5)&=&120-57&=&63\\ \end{array} f " ( 0 ) = 3 1 = 2 f " ( 1 ) = 7 3 = 4 f " ( 2 ) = 15 7 = 8 f " ( 3 ) = 31 15 = 16 f " ( 4 ) = 63 31 = 32 \begin{array}{l} f"(0)&=&3-1&=&2\\ f"(1)&=&7-3&=&4\\ f"(2)&=&15-7&=&8\\ f"(3)&=&31-15&=&16\\ f"(4)&=&63-31&=&32\\ \end{array} Now we are starting to see a pattern. f " ( n ) = 2 n + 1 f"(n)=2^{n+1} f ( n ) = 1 + k = 0 n 1 2 k + 1 = 1 + k = 1 n 2 k = 1 + k = 0 n 2 k 1 = 2 n + 1 1 \begin{array}{rcl} f'(n)&=&1+\sum_{k=0}^{n-1}2^{k+1}\\ &=&1+\sum_{k=1}^n2^k\\ &=&1+\sum_{k=0}^n2^k-1\\ &=&2^{n+1}-1 \end{array} f ( n ) = k = 0 n 1 ( 2 k + 1 1 ) = k = 1 n ( 2 k 1 ) = k = 1 n 2 k n = k = 0 n 2 k 1 n = 2 n + 1 2 n \begin{array}{rcl} f(n)&=&\sum_{k=0}^{n-1}(2^{k+1}-1)\\ &=&\sum_{k=1}^{n}(2^k-1)\\ &=&\sum_{k=1}^{n}2^k-n\\ &=&\sum_{k=0}^{n}2^k-1-n\\ &=&2^{n+1}-2-n\\ \end{array} μ ( n ) = 2 n + 1 2 n 2 n 1 = 2 n 2 n 1 \begin{array}{rcl} \mu(n)&=&\frac{2^{n+1}-2-n}{2^n-1}\\ &=&2-\frac n{2^n-1} \end{array} Since lim n n 2 n 1 = 1 ( ln 2 ) 2 n = 0 \lim_{n\rightarrow\infty}\frac n{2^n-1}=\frac1{(\ln2)2^n}=0 , the Cesaro Summation is 2, or 2 1 \frac21 .
Ben Frankel
Dec 16, 2013

Since we are taking the arithmetic mean, we can "distribute" values in order to "flatten" the numbers as such:

[ 1 , 2 , 1 , 3 , 1 , 2 , 1 ] [ 1 , 2 , 2 , 2 , 1 , 2 , 1 ] [1, 2, 1, 3, 1, 2, 1] \Rightarrow [1, 2, \textbf{2}, \textbf{2}, 1, 2, 1] , this resultant sequence having the same arithmetic mean. Here I subtracted 1 1 from the center 3 3 and added 1 1 to the 2 2 to its left, keeping the arithmetic mean the same.

[ 1 , 2 , 1 , 3 , 1 , 2 , 1 , 4 , 1 , 2 , 1 , 3 , 1 , 2 , 1 ] [ 1 , 2 , 2 , 2 , 1 , 2 , 2 , 2 , 2 , 2 , 2 , 2 , 1 , 2 , 1 ] [1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1] \Rightarrow [1, 2, 2, 2, 1, 2, \textbf{2}, \textbf{2}, \textbf{2}, 2, 2, 2, 1, 2, 1] .

In the next iteration, the sequence will be repeated on both sides so that the center number will be 5 5 , and so there will be 3 3 1 1 's that will be turned into 2 2 's. We can generalize this for any n n . Call the amount of 1 1 's at the n n th iteration (The first iteration being the sequence [ 1 ] [1] ) A n A_n and the amount of 2 2 's B n B_n .

A 1 = 1 , A n = 2 A n 1 n + 2 A_1 = 1, A_n = 2A_{n-1} - n + 2 for n > 1 n > 1 . In closed form: A n = n A_n = n

Because the total digits at n n is 2 n + 1 2^n + 1 , B n = 2 n + 1 A n = 2 n n + 1 B_n = 2^n + 1 - A_n = 2^n - n + 1 .

Since B n B_n grows exponentially while A n A_n grows linearly, the arithmetic mean approaches 2 = 2 1 2 = \frac{2}{1} , so the answer is 2 + 1 = 3 2 + 1 = 3 .

There exists a much better method than this one that a friend of a friend of mine found, but since he found it and not I, I will not post it.

Hello! As you asked of me, I will post my solution as a reply to your comment since I accidentally "entered the discussion" instead, making it impossible to write a solution (I really must be more careful with that next time)... So anyway, here is my solution: First, a lemma:

If we have two sequences. One of them is

A 1 , A 2 , A 3 , A_1, A_2, A_3, \ldots and has Cesaro summation x x .

The other is

B 1 , B 2 , B 3 , B_1, B_2, B_3, \ldots and has Cesaro summation y y .

The lemma states that if we define a new sequence, such that:

C n = A n + B n C_n=A_n+B_n , then the Cesaro summation of that sequence is x + y x+y .

The proof for this is simple: By definition:

x = lim n A 1 + A 2 + + A n n x = \lim_{ n \to \infty} \frac{A_1+A_2+\ldots+A_n}{n}

y = lim n B 1 + B 2 + + B n n y = \lim_{ n \to \infty} \frac{B_1+B_2+\ldots+B_n}{n}

If we add x and y:

x + y = lim n A 1 + A 2 + + A n n + lim n B 1 + B 2 + + B n n x+y = \lim_{ n \to \infty} \frac{A_1+A_2+\ldots+A_n}{n} + \lim_{ n \to \infty} \frac{B_1+B_2+\ldots+B_n}{n}

x + y = lim n ( A 1 + A 2 + + A n n + B 1 + B 2 + + B n n ) x+y = \lim_{ n \to \infty} (\frac{A_1+A_2+\ldots+A_n}{n} + \frac{B_1+B_2+\ldots+B_n}{n} )

x + y = lim n A 1 + A 2 + + A n + B 1 + B 2 + + B n n x+y= \lim_{ n \to \infty} \frac{A_1+A_2+\ldots+A_n + B_1 + B_2+\dots+B_n}{n}

Addition is commutative, so we can rewrite this as:

x + y = lim n A 1 + B 1 + A 2 + B 2 + + A n + B n n x+y= \lim_{ n \to \infty} \frac{A_1+B_1+A_2+B_2+\ldots+A_n+B_n}{n}

By the definition of C n C_n (which is C n = A n + B n C_n=A_n+B_n ) we get that:

x + y = lim n C 1 + C 2 + + C n n x+y= \lim_{ n \to \infty} \frac{C_1+C_2+\ldots+C_n}{n}

Which is the Cesaro summation of C n C_n . Q.E.D.

Now, let's have a look at the sequence that was defined.

Let A n A_n be the sequence you defined: 1 , 2 , 1 , 3 , 1 , 2 , 1 , 1, 2, 1, 3, 1, 2, 1, \ldots and let it's Cesaro summation equal x x .

Let B n B_n be the constant sequence 1 , 1 , 1 , -1, -1, -1, \ldots . It's Cesaro summation is obviously equal to 1 -1 .

Let C n C_n be a sequence such that C n = A n + B n C_n=A_n+B_n . In other words, we subtract 1 from every value in the sequence A n A_n . This is how the sequence C n C_n looks like:

0 , 1 , 0 , 2 , 0 , 1 , 0 , 3 , 0 , 1 , 0 , 2 , 0 , 1 , 0 , 4 , 0 , 1 , 0 , 2 , 0 , 1 , 0 , 3 , 0 , 1 , 0 , 2 , 0 , 1 , 0 , 5 , 0 , 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, \ldots

Notice how this is the same thing as the series A n A_n , except that there is a 0 0 before every value. The reason for this is not hard to see... It follows simply from the fact that the series is defined so that A n A_n is the largest number such that 2 A n 2^{A_n} divides 2 n 2n .

Also, since there is a zero between every two numbers in the series, then the Cesaro summation of C n C_n is obviously half of the Cesaro summation of the original series. That is, x 2 \frac{x}{2} .

By the lemma that we proved, the Cesaro summation of A n A_n added to the Cesaro summation of B n B_n is equal to the Cesaro summation of C n = A n + B n C_n=A_n+B_n . So we get that:

x 1 = x 2 x - 1 = \frac {x}{2}

x 2 = 1 \frac{x}{2} = 1

x = 2 x=2 .

So the Cesaro summation of the sequence is 2.

It can be expressed as a b \frac{a}{b} where a and b are coprime positive integers. It's easy to see that a = 2 a=2 and b = 1 b=1 . Therefore:

a + b = 2 + 1 = 3 a+b=2+1=\boxed{3}

Boaz Guberman - 7 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...