martes, 1 de noviembre de 2011

PROBLEMA 2 MES DE NOVIEMBRE

PALÍNDROMOS Y CAPICÚAS
Un palíndromo, es una palabra o frase, que se puede leer con igual resultado al derecho que al revés, como por ejemplo "reconocer". Cuando hablamos de números, a los palíndromos se les llama capicúas, como por ejemplo el "4598954".
Sabiendo esto, y que las matrículas españolas se componen con cuatro números (formados por las 10 cifras del 0 al 9) y tres letras (formadas por las 20 letras del alfabeto que quedan después de eliminar las 5 vocales, la Ñ y la Q).
1. ¿Cuántas matrículas distintas pueden formarse desde la primera 0000BBB hasta la última 9999ZZZ?
2. ¿Cuántas tienen números capicúas?
3. ¿Cuántas tienen las letras haciendo palíndromo?
4. ¿Cuántas matrículas combinan las dos propiedades y tienen el número capicúa y las letras palíndromo?
5. Busca el origen de las palabras "palíndromo" y "capicúa".
(http://www.talleresruso.com/placas-de-matricula)
PALINDROMES
A palindrome is a word or phrase, which can be read equally from the right or the left, like for example "Madam, I'm Adam". When we speak about numbers, a palindrome could be, for example "4598954"
Knowing this, and that the Spanish car registration number consists in four numbers (formed by 10 numbers from 0 to 9) and three letters (formed by 20 letters that result of the alphabet without the vowels, the Ñ and the Q).
1. How many different matriculations can be formed from the first one 0000BBB up to the last one 9999ZZZ?
 2. How many have palindrome numbers?
 3. How many have the letters forming palindrome?
 4. How many matriculations combine both properties and are palindrome with the letters and the numbers?
 5. Find out the origin of the words "palindrome" and "capicúa".

PROBLEMA 1 MES DE NOVIEMBRE

UN TAL SR. LUMPERICH
Supongo que tod@s habréis visto algún capítulo de unos antiguos dibujos animados de 1974 llamados "Vickie el vikingo". Para resolver este problema del mes, os invito a ver el capítulo 33 de dicha serie llamado "Un tal Sr. Lumperich".
Estos son los enlaces.
Parte 1:  http://www.youtube.com/watch?v=tibFOPpyYcs
Parte 2:  http://www.youtube.com/watch?v=W4k114NnD10
Parte 3:  http://www.youtube.com/watch?v=kxk76PBo_nU
En el capítulo llega un comerciante tramposo a la aldea de Vickie, y ofrece a sus habitantes la posibilidad de obtener apostando una sola moneda de oro, el regalo que prefieran de entre los diecisiete que lleva en sus alforjas, con las siguientes condiciones:
1. Empieza el vikingo cogiendo los artículos que quiera, pero solo entre uno y tres.
2. Después de escoger el vikingo, Lumperich retira también del montón entre uno y tres los artículos que quiera.
3. Luego, el vikingo vuelve a jugar, retirando de nuevo entre uno y tres artículos, y así se va desarrollando el juego hasta que no queda nada sobre la mesa.
4. El único objeto que no se puede coger es un cofrecito vacío. El que, en su turno, se vea obligado a cogerlo porque sea lo único que ha quedado sobre la mesa, pierde el juego (si es Lumperich pierde su mercancía, si es el vikingo, su moneda).
El truco consistía en que Lumperich nunca perdía, ya que, tome como tome el vikingo sus artículos, al final se veía obligado a ser él quien se quedase con el cofrecito, perdiendo por tanto su moneda.
(http://www.comicpasion.com/726/vickie-el-vikingo-tendra-pelicula.html)

¿Cuál es el truco que permite al comerciante ganar siempre? ¿En qué consiste su táctica?

Vickie averiguó el truco e introdujo una flauta junto a los demás objetos. Así, sin que Lumperich se diese cuenta, Vickie le daba la “vuelta al juego”. Lumperich no se dio cuenta de que había un artículo más y por eso, hiciese lo que hiciese, tanto si seguía su misma táctica de antes como si no, al final Lumperich se veía obligado a coger el cofrecito. De este modo Vickie recuperó todas las monedas.

¿Cómo debe Vickie empezar el juego después de añadir la flauta?

SOMEONE CALLED LUMPERICH
I suppose that everybody has seen a chapter of a cartoon created in 1974 called " Vickie the Vikingo" sometime.
To solve the problem of the month, I'm inviting you to see chapter 33 of the mentioned cartoon.
These are the links.
Part 1:  http://www.youtube.com/watch?v=tibFOPpyYcs
Part 2:  http://www.youtube.com/watch?v=W4k114NnD10
Part 3:  http://www.youtube.com/watch?v=kxk76PBo_nU
In that chapter a crooked merchant comes to Vickie's village, and offers the inhabitants the possibility of obtaining a gift by betting a golden coin. There are seventeen articles in his saddle-bags, and the villagers can choose one if they win a game acording to the following conditions:
1. The vikingo begins taking the articles that he wants, but only between one and three.
2. After the vikingo chooses, Lumperich also withdraws one, two or three articles.
3. Then, the vikingo plays again, withdrawing again between one and three articles, and this way the game continues until nothing is left on the table.
4. The only object that cannot be taken is a little empty chest. The person that is obliged to take it because it is the only thing that is still on the table, loses the game.
The trick consists of the fact that Lumperich never loses, because the little chest is always the last article on the table when it's the turn of the viking to withdraw. So, the merchant, takes all the money of the villagers.

Which is the trick that allows the merchant to win always? What are his tactics?
 
Vickie realised what the trick was and introduced a flute close to other objects. This way, without Lumperich realizing, Vickie was giving him the "beginning of the game". Lumperich did not realize that there was one more article and because of it, Lumperich was obliged to take the little chest. Thus Vickie recovered all the money.
 
How must Vickie begin the game after adding the flute?