CombinatoricsDifficulty 5.7AIME, harderProve itUnited States
Problem:
Denote ϕ=21+5 and consider the set of all finite binary strings without leading zeroes. Each string S has a "base-ϕ" value p(S). For example, p(1101)=ϕ3+ϕ2+1. For any positive integer n, let f(n) be the number of such strings S that satisfy p(S)=ϕ48−1ϕ48n−1. The sequence of fractions f(n)f(n+1) approaches a real number c as n goes to infinity. Determine the value of c.
Solution
Solution:
We write everything in base ϕ. Notice that ϕ48−1ϕ48n−1=10…010…01…10…01 where there are n−1 blocks of 47 zeros each. We can prove that every valid base-ϕ representation comes from replacing a consecutive string 100 with a 011 repeatedly. Using this, we can easily classify what base-ϕ representations are counted by f(n).
Notice that 10000000=01100000=01011000=01010110 and similar, so that in each block of zeros we can choose how many times to perform a replacement. It turns out that we can do anywhere from 0 to 24 such replacements, but that if we choose to do 24 then the next block cannot have chosen 0 replacements. (An analogy with lower numbers is 10001000=01101000=01100110=01011110, with the first block "replaced twice," which was only allowed since the second block had "replaced once," opening up the slot which was filled by the last 1 in the final replacement 011).
Thus we have a bijection from f(n) to sequences in {0,…,24}n−1 such that (a) the sequence does not end in 24 and (b) the sequence never has a 24 followed by a 0.
We let an denote the number of length-n sequences starting with a 0, bn for the number of such sequences starting with any of 1 to 23, and cn for the number of such sequences starting with 24. We know a1=1, b1=23, c0=0 and that f(n)=an−1+bn−1+cn−1.
Now, anbncn=an−1+bn−1+cn−1=23(an−1+bn−1+cn−1)=bn−1+cn−1 so bn=23an for all n. Substituting gives an=24an−1+cn−1, cn=23an−1+cn−1. Solving for cn=an+1−24an−1 and plugging in gives an+1−24an=an−an−1 which gives a characteristic polynomial of λ2−25λ+1=0. We easily find that an grows as λn (where λ is the larger solution to the quadratic equation) and thus bn, cn do as well, implying that f(n) grows as λn, where λ=225+252−4=225+369 which is our answer.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.