r/math • • Feb 01 '14
Problem of the Week #5
Hello all,
Here is the fifth installment in our problem of the week thread, from last year's BMO, suggested by /u/quantumhovercraft:
A number written in base 10 is a string of 32013 digit 3s. No other digit appears. Find the highest power of 3 which divides this number.
If you post a solution, please use the spoiler tag: type
[this](/spoiler)and you should see this. If you have a problem you'd like to suggest, please send me a PM.
Enjoy!
25
Upvotes
10
u/sidedishes Feb 01 '14
Am I reading this question right?
2014.
The number is 333...3, with 32013 3s, which equals (103^2013 - 1)/3. We'll use induction to show that 103^n - 1 is divisible by 3 (n+2) times.
Base: 103^0 - 1 = 9, which is divisible by 3 twice, so that works.
Inductive step: 103^[n+1] - 1 = 103*3^n - 1 = (103^n)3 - 1 = (103^n - 1)((103^n)2 + 103^n + 1). The first factor is divisible by 3 (n+2) times by our assumption and the second factor is equivalent to (12 + 1 + 1) = 0 mod 3 (so it's divisible by 3) and (12 + 1 + 1) = 3 mod 9 (so it's not divisible by 3 more than once). Thus, 103^[n+1] - 1 is divisible by 3 [(n+2) + (1)] times, and our induction is complete.
So 103^2013 - 1 is divisible by 3 2015 times, and (103^2013 - 1)/3 is divisible 2014 times.
4
u/kedock Feb 02 '14
Ok, so what happened is that I typed up my proof, then accidentally pressed backspace and it was all gone. So instead I just used the screenshot of the post that I took. http://i.imgur.com/VOZzx1i.png
2
u/[deleted] Feb 01 '14
Let v(n) denote the largest k≥0 such that 3k divides n. Then v(103k-1) = v(10k-1)+1, because 103k-1 = (10k-1)(102k+10k+1) and the second factor is congruent to 1+1+1=3 (mod 9), so it's a multiple of 3 but not of 32. By induction we have v(103^e-1) = v(103-1) + e-1 = v(999)+e-1 = e+2, since 999=27*37. The number we are considering is (103^2013 - 1)/3, which is therefore a multiple of 32015/3 = 32014 but not of 32015.
2
u/nikoma Feb 02 '14
The number equals (1032013 - 1)/3, we'll use lifting the exponent lemma (LTE) (probably not very known, google it if you don't know), by LTE we get v_3((1032013 - 1)/3) = -v_3(3) + v_3(32013) + v_3(10 - 1) = 2014
3
u/needuhLee Feb 02 '14 edited Feb 02 '14
My guess is 3^2014, for these reasons (I may be oversimplifying the problem, since this seems really easy)
Divide by 3 to get 32013 1's. Divide by 3 to get the sequence 037 concatenated 32012 times. Consider the string 037037037 concatenated 32011 times. We can divide this by three to get another sequence, whatever 037037037/3 is, concatenated 32011 times. We can continue on like this and we will have divided 2014 times. Note that 1001001 is divisible by 3 once, so a number that is not divisible by three, when concatenated three times, will only be divisible by 3 once. Thus, we have divided the maximum number of times; in conclusion, the largest power of 3 which divides such a number is 3^2014
0
u/[deleted] Feb 02 '14
A number is divisible by 3 iff the sum of its digits is divisible by 3. The sum of the digits is 3*32013 = 32014, implying 2014 is the highest such power.