Could someone please help me with the attached RMO 2013 problem?

I got the answer to be \(3^{n-1}n + [\frac{n-1}{2}]\), where the square brackets, [], imply the floor function. Is that right? I couldn't find an answer key for this (Maharashtra and Goa) anywhere.

Any help will be highly appreciated.

No vote yet

1 vote

×

Problem Loading...

Note Loading...

Set Loading...

Easy Math Editor

`*italics*`

or`_italics_`

italics`**bold**`

or`__bold__`

boldNote: you must add a full line of space before and after lists for them to show up correctlyparagraph 1

paragraph 2

`[example link](https://brilliant.org)`

`> This is a quote`

Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.`2 \times 3`

`2^{34}`

`a_{i-1}`

`\frac{2}{3}`

`\sqrt{2}`

`\sum_{i=1}^3`

`\sin \theta`

`\boxed{123}`

## Comments

Sort by:

TopNewestI'm getting \( 2^{n-1}(2^n - 1) \).

Log in to reply

Could you please explain?

Log in to reply

Let \( b_n \) be the number of sequences formed which have an

evennumber of zeros.Then it is obvious that \( 4^n = a_n + b_n \), since there \( 4^n \) sequences of \( n \) terms, and each sequence must contain an even or odd number of zeroes.

Now, look at any sequence part of \( a_n \). It's first term is either zero (1 way), or not zero (3 ways). If the first term is zero, the remaining sequence must contain an even number of zeroes, and thus is \( b_{n-1} \). Likewise, if the first term is not zero, the remaining sequence is \( a_{n-1} \).

Therefore, \( a_n = b_{n-1} + 3a{n-1} \). Eliminating \( b _n \) from both equations, we have

\( a_n = 2a_{n-1} + 4^{n-1} \)

or \( a_n = 6a_{n-1} -8a_{n-2} \)

Solving this recurrence relation, using \( a_1 = 1, a_2 = 6, \), we get \( a_n = 2^{n-1}(2^n - 1) \)

Log in to reply

Log in to reply