Given a sequence of positive integers a 1 , a 2 , a 3 , … , a n , define the power tower function f ( a 1 , a 2 , a 3 , … , a n ) = a 1 a 2 a 3 … a n Let b 1 , b 2 , b 3 , … , b 2 0 1 7 be positive integers such that for any i between 1 and 2 0 1 7 inclusive, f ( a 1 , a 2 , a 3 … , a i , … , a 2 0 1 7 ) ≡ f ( a 1 , a 2 , a 3 … , a i + b i , … , a 2 0 1 7 ) ( m o d 2 0 1 7 ) for all sequences a 1 , a 2 , a 3 , … , a 2 0 1 7 of positive integers greater than 2 0 1 7 . Find the smallest possible value of b 1 + b 2 + b 3 + … + b 2 0 1 7 .
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.
Problem Loading...
Note Loading...
Set Loading...
The solution involves the Carmichael function λ ( n ) , which gives the smallest number m for which, given a coprime to n , the equation
a m ≡ 1 ( m o d n )
always holds. The Carmichael function satisfies the relation
a x ≡ a y ( m o d n ) ⇒ x ≡ y ( m o d λ ( n ) )
Now we have:
a 1 n ≡ ( a 1 + b 1 ) n ( m o d 2 0 1 7 ) ⇒ a 1 ≡ a 1 + b 1 ( m o d 2 0 1 7 ) ⇒ b 1 = 2 0 1 7 a 1 a 2 n ≡ a 1 ( a 2 + b 2 ) n ( m o d 2 0 1 7 ) ⇒ a 2 n ≡ ( a 2 + b 2 ) n ( m o d λ ( 2 0 1 7 ) ) ⇒ b 2 = 2 0 1 6
And so on. Thus we have that b n = λ n − 1 ( 2 0 1 7 ) , where n refers to the number of repeated applications of the Carmichael function. After four applications, we find b 5 = 1 , and since λ ( 1 ) = 1 , we have
( b 1 , b 2 , b 3 , . . . , b 2 0 1 7 ) = ( 2 0 1 7 , 2 0 1 6 , 2 4 , 2 , 1 , 1 , 1 , . . . , 1 )
So the solution is 2 0 1 7 + 2 0 1 6 + 2 4 + 2 + 2 0 1 3 = 6 0 7 2
(This proof is not completely rigorous but is roughly the path to the correct answer)