Mathematical Food for Thought

 
 
google
yahoo
bing
 
  • About

    Serves a Daily Special and an All-You-Can-Eat Course in Problem Solving. Courtesy of me, Jeffrey Wang.
 
Recurrences Are Cool. Topic: Probability/S&S. Level: AIME. February 27th, 2007

Problem: Let  p_k be the probability of choosing a positive integer  n from the interval  [2^{k-1}, 2^k-1] such that the binary representation of  n does not contain three consecutive  1 ’s. Evaluate the infinite summation  p_1+p_2+\cdots .

Solution: First, let  S_k be the number of positive integers  n in the interval  [2^{k-1}, 2^k-1] that do not contain three consecutive  1 ’s in their binary representations – note that it is equivalent to the number of binary strings of length  k starting with a  1 that satisfy that property. By testing, we have  S_1 = 1 ,  S_2 = 2 ,  S_3 = 3 ,  S_4 = 6 ,  S_5 = 11 ,  S_6 = 20 . You can construct a certain type of table to make these calculations easier. We notice that the recurrence  S_{k+3} = S_{k+2}+S_{k+1}+S_k seems to hold, so we want to try and prove this.

We categorize the strings of length  k+3 based on the last occurence of  0 . It must either be in the last, second to last, or third to last spots. If it is in the last spot, the string is  \text{blah}0 where  \text{blah} has length  k+2 so there are  S_{k+2} of those. Similarly, the other possibilities are  \text{blah}01 or  \text{blah}001 , where the  \text{blah} ’s have length  k+1 and  k , respectively, giving the recurrence. Now it remains to sum it.

We want to evaluate  \displaystyle \sum_{k=1}^{\infty} p_k = \sum_{k=1}^{\infty} \frac{S_k}{2^{k-1}} since there are  2^{k-1} binary strings of length  k that begin with  1 .

Luckily, we know a cool way to evaluate recurrences over a geometric sequence. Let  \displaystyle S = \sum_{k=1}^{\infty} \frac{S_k}{2^{k-1}} . Then

 \displaystyle 2S = 2S_1+\sum_{k=1}^{\infty} \frac{S_{k+1}}{2^{k-1}}

 \displaystyle 4S = 4S_1+2S_2+\sum_{k=1}^{\infty} \frac{S_{k+2}}{2^{k-1}}

 \displaystyle 8S = 8S_1+4S_2+2S_3+\sum_{k=1}^{\infty} \frac{S_{k+3}}{2^{k-1}} .

Notice, now that if we take  S = 8S-4S-2S-S a lot of terms cancel due to the recurrence. In fact, all of the summations do! So

 \displaystyle S = (8S_1+4S_2+2S_3)-(4S_1+2S_2)-2S_1+ \sum_{k=1}^{\infty} \frac{S_{k+3}-S_{k+2}-S_{k+1}-S_k}{2^{k-1}}

 S = 2S_1+2S_2+2S_3 = 12 .

QED.

——————–

Comment: Both parts of this problem are pretty classical. The first, finding a recurrence for a string satisfying a certain property, and the second, evaluating an infinite summation of the terms of a sequence divided by a geometric series. These two techniques are very useful, however, in approaching many problems. It would not be fun to solve a problem and get to the last step only to find that you do not know how to evaluate the summation to get the final answer.

——————–

Practice Problem: Evaluate  \displaystyle \sum_{k=1}^{\infty} \frac{F_k}{n^k} , where  n > 1 is a positive integer and  F_k is the Fibonacci sequence (i.e.  F_0 = F_1 = 1 and  F_{k+1} = F_k+F_{k-1} for all positive integers  k ).

2007 Mock AIME 6. February 24th, 2007

The 2007 Mock AIME 6 is underway! The test can be found here and more information can be found at the AoPS Forum.

Pythagorean x3. Topic: Geometry/NT. Level: AMC. February 22nd, 2007

Problem: (2007 AMC12B – #23) How many non-congruent right triangles with positive integer leg lengths have areas that are numerically equal to  3 times their perimeters?

Solution: Well, basically, you should know the Pythagorean triple generating formula, i.e.  a = k(u^2-v^2) ,  b = 2kuv ,  c = k(u^2+v^2) . Substitute accordingly and we have to solve the diophantine equation

 \frac{1}{2} \cdot k(u^2-v^2) \cdot 2kuv = 3 \cdot (k(u^2-v^2)+2kuv+k(u^2+v^2))

which conveniently simplifies to

 kv(u-v) = 6 .

Obviously then  k = 1, 2, 3, 6 so look at these cases:

 k = 1 : We can take  v = 1, 2, 3, 6 to get the triples  (14, 48, 50); (20, 21, 29); (16, 30, 34); (13, 84, 85) .

 k = 2 : We can take  v = 1, 3 to get the triples  (16, 30, 34); (14, 48, 50) both of which are already counted.

 k = 3 : We can take  v = 1, 2 to get the triples  (18, 24, 30); (15, 24, 39) .

 k = 6 : We can take  v = 1 to get the triple  (18, 24, 30) , which is already counted.

So we have  4+2 = 6 triangles. QED.

——————–

Comment: Not too hard if you knew the generating formula for Pythagorean triples. It was a little annoying having to check for repeated triples, but at least there weren’t that many.

——————–

Practice Problem: (2007 AMC 12B – #24) How many pairs of positive integers  (a, b) are there such that  \text{gcd}(a, b) = 1 and

 \frac{a}{b}+\frac{14b}{9a}

is an integer?

Mu Alpha Practice Tests. February 18th, 2007

There are so many, so I’m not going to bother putting links to them all. You can reach any test by going to the URL “http://wangsblog.com/jeffrey/TestName.pdf” where TestName may be replaced by any of the following:

ABTest
Algebra34
AlphaIndividual
Answers (for all tests)
BCTest
Cipher2003_16ques
Cipher2003Alpha17
Cipher2003Mu15
Cipher2003Theta17
CirclesAreaVolume
Gemini
GeometryClass
LimDeriv2003
MuIndividual
MuS&S
NumberTheory
ProbAlpha
ProbilityTheta
S&SAlpha
TheNumber_e
ThetaIndividual
ThetaLogsExps
TrigClassTest

So, for example, if I wanted the Number Theory test I would go to “http://wangsblog.com/jeffrey/NumberTheory.pdf”. Not all of these tests are around, but this should give you some idea of what to expect.

Currently… February 18th, 2007

Writing a Mock AIME. Stay tuned!

Google

 

 
 
free web counters
Etronics