Towers of Powers

Given a sequence of positive integers a 1 , a 2 , a 3 , , a n a_1, a_2, a_3, \ldots, a_n , define the power tower function f ( a 1 , a 2 , a 3 , , a n ) = a 1 a 2 a 3 a n f(a_1,a_2,a_3,\ldots,a_n)=a_1^{a_2^{a_3^{\ldots^{a_n}}}} Let b 1 , b 2 , b 3 , , b 2017 b_1, b_2, b_3, \ldots, b_{2017} be positive integers such that for any i i between 1 1 and 2017 2017 inclusive, f ( a 1 , a 2 , a 3 , a i , , a 2017 ) f ( a 1 , a 2 , a 3 , a i + b i , , a 2017 ) ( m o d 2017 ) f(a_1, a_2, a_3 \ldots, a_i, \ldots, a_{2017}) \equiv f(a_1, a_2, a_3 \ldots, a_i+b_i, \ldots, a_{2017}) \pmod{2017} for all sequences a 1 , a 2 , a 3 , , a 2017 a_1, a_2, a_3, \ldots, a_{2017} of positive integers greater than 2017 2017 . Find the smallest possible value of b 1 + b 2 + b 3 + + b 2017 b_1+b_2+b_3+\ldots+b_{2017} .


The answer is 6072.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Stephen Brown
Nov 9, 2017

The solution involves the Carmichael function λ ( n ) \lambda (n) , which gives the smallest number m m for which, given a a coprime to n n , the equation

a m 1 ( m o d n ) a^m \equiv 1\,(mod\,n)

always holds. The Carmichael function satisfies the relation

a x a y ( m o d n ) x y ( m o d λ ( n ) ) a^x \equiv a^y\,(mod\,n) \Rightarrow x \equiv y\,(mod\,\lambda (n))

Now we have:

a 1 n ( a 1 + b 1 ) n ( m o d 2017 ) a 1 a 1 + b 1 ( m o d 2017 ) b 1 = 2017 a_{1}^{n} \equiv (a_{1}+b_{1})^{n}\,(mod\,2017) \Rightarrow a_{1} \equiv a_{1}+b_{1}\,(mod\,2017) \Rightarrow b_1 = 2017 a 1 a 2 n a 1 ( a 2 + b 2 ) n ( m o d 2017 ) a 2 n ( a 2 + b 2 ) n ( m o d λ ( 2017 ) ) b 2 = 2016 a_{1}^{a_{2}^{n}} \equiv a_{1}^{(a_{2}+b_{2})^{n}}\,(mod\,2017) \Rightarrow a_{2}^{n} \equiv (a_{2}+b_{2})^{n}\,(mod\,\lambda(2017)) \Rightarrow b_2 = 2016

And so on. Thus we have that b n = λ n 1 ( 2017 ) b_{n} = \lambda^{n-1}(2017) , where n refers to the number of repeated applications of the Carmichael function. After four applications, we find b 5 = 1 b_5 = 1 , and since λ ( 1 ) = 1 \lambda (1) = 1 , we have

( b 1 , b 2 , b 3 , . . . , b 2017 ) = ( 2017 , 2016 , 24 , 2 , 1 , 1 , 1 , . . . , 1 ) (b_1,b_2,b_3,...,b_{2017}) = (2017,2016,24,2,1,1,1,...,1)

So the solution is 2017 + 2016 + 24 + 2 + 2013 = 6072 2017+2016+24+2+2013 = \boxed{6072}

(This proof is not completely rigorous but is roughly the path to the correct answer)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...