Processing math: 30%
Skip to main content

Posts

Showing posts from March, 2017

The Kelly Criterion and a Sure Thing

The Kelly Criterion is an alternative to standard utility theory, which seeks to maximize expected utility. Instead, the Kelly Criterion seeks to maximize expected growth . That is, if we start out with an initial bankroll B0, we seek to maximize E[g(t)], where Bt=B0eg(t). As a simple example, consider the following choice. We can have a sure $3000, or we can take the gamble of a 45 chance of $4000 and a 15 chance of $0. What does Kelly say? Assume we have a current bankroll of B0. After the first choice we have B1=B0+3000, which we can write as E[g(1)]=log(B0+3000B0);for the second choice we have E[g(1)]=45log(B0+4000B0).And so we want to compare log(B0+3000B0) and 45log(B0+4000B0). Exponentiating, we're looking for the positive root of \[{\left({B_0+3000}\...

Prime Divisors of 332232

Find four prime divisors < 100 for 332232. Source: British Math Olympiad, 2006. This factors nicely as 332232=(316+216)(316216), and we can continue factoring in this way to get 332232=(316+216)(38+28)(34+24)(32+22)(3222).The final three terms are 5,13,97, so we have three of the four required primes. For another prime divisor, consider 316216. By Fermat's Little Theorem a1610mod for all a with (a,17)=1, and so it follows that 3^{16}-2^{16}\equiv 0 \bmod 17, and we therefore have 17 as a fourth such prime divisor. Alternatively, note \left(\dfrac{3}{17}\right)=-1, \left(\dfrac{2}{17}\right)=1, hence by Euler's Criterion 3^8\equiv -1 \bmod 17 and 2^8\equiv 1 \bmod 17, giving 3^8+2^8\equiv 0\bmod 17.

Highest Powers of 3 and \left(1+\sqrt{2}\right)^n

Let \left(1+\sqrt{2}\right)^{2012}=a+b\sqrt{2}, where a and b are integers. What is the greatest common divisor of b and 81? Source: 2011-2012 SDML High School 2a, problem 15. Let (1+\sqrt{2})^n = a_n + b_n \sqrt{2}. I've thought about this some more, and there's a nice way to describe the highest power of 3 that divides b_n. This is probably outside of the scope of the intended solution, however. First note that (1-\sqrt{2})^n = a_n - b_n \sqrt{2}, and so from (1+\sqrt{2})(1-\sqrt{2})=-1 we get (1+\sqrt{2})^n (1-\sqrt{2})^n = {(-1)}^n. This gives {a_n}^2 - 2 {b_n}^2 = {(-1)}^n. Now define the highest power of a prime p that divides n to be \operatorname{\nu}_p(n). From cubing and using the above result it's straightforward to prove that if \operatorname{\nu}_3(b_n) = k > 0 then \operatorname{\nu}_3(b_{3n}) = k+1. Note (1+\sqrt{2})^4 = 17 + 12\sqrt{2} \equiv -1+3\sqrt{2} \pmod{3^2}. Cubing and...

Sum of Two Odd Composite Numbers

What is the largest even integer that cannot be written as the sum of two odd composite numbers? Source: AIME 1984 , problem 14. Note 24 = 3\cdot 3 + 3\cdot 5, and so if 2k has a representation as the sum of even multiples of 3 and 5, say 2k = e_3\cdot 3 + e_5\cdot 5, we get a representation of 2k+24 as a sum of odd composites via 2k+24 = (3+e_3)\cdot 3 + (5+e_5)\cdot 5. But by the Frobenius coin problem every number k > 3\cdot 5 -3-5 = 7 has such a representation, hence every number 2k > 14 has a representation as the sum of even multiples of 3 and 5. Thus every number n > 24+14=38 has a representation as the sum of odd composites. Checking, we see that \boxed{38} has no representation as a sum of odd composites.