Problem 3
Source: European Mathematical Cup
December 16, 2013
combinatorics unsolvedcombinatorics
Problem Statement
We call a sequence of digits one or zero a code. Subsequence of a code is a palindrome if it is the same after we reverse the order of its digits. A palindrome is called nice if its digits occur consecutively in the code. (Code contains palindromes, of which are nice.)a) What is the least number of palindromes in a code?b) What is the least number of nice palindromes in a code?