Divisibility Chains

Define two positive integer sequences { a n } \{a_n\} and { b n } \{b_n\} be defined as a 1 < b 1 a_1 < b_1 , a n + 1 = a n + 1 a_{n+1}=a_n+1 and b n + 1 = b n + 1 b_{n+1}=b_n+1 . These two sequences form a Divisibility Chain of length n n if a i b i a_i\mid b_i for i = 1 n i=1\to n .

The sequences { a n } \{a_n\} and { b n } \{b_n\} form the longest possible divisibility chain subject to the restriction that 1 < a 1 1000 1 < a_1\le 1000 and 1 < b 1 1000 1 < b_1 \le 1000 . If this divisibility chain has length k k , then find k + a k + b k k+a_k+b_k


The answer is 863.

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

Daniel Liu
Jul 17, 2014

We see that for i = 1 n i=1\to n , we have b i 0 ( m o d a i ) b_i\equiv 0\pmod{a_i} . However, we can also describe these relations using only the variables a 1 a_1 and b 1 b_1 .

We see that b 1 0 ( m o d a 1 ) b_1\equiv 0\pmod{a_1}

Next, we have b 1 + 1 0 ( m o d a 1 + 1 ) b 1 a 1 ( m o d a 1 + 1 ) b_1+1\equiv 0\pmod{a_1+1}\implies b_1\equiv a_1\pmod{a_1+1}

Next, we have b 1 + 2 0 ( m o d a 1 + 2 ) b 1 a 1 ( m o d a 1 + 2 ) b_1+2\equiv 0\pmod{a_1+2}\implies b_1\equiv a_1\pmod{a_1+2}

Generally, we have b 1 a 1 ( m o d a 1 + k ) b_1\equiv a_1\pmod{a_1+k} for k = 0 n 1 k=0\to n-1 .

Thus, b 1 = a 1 + lcm ( a 1 , a 1 + 1 , , a 1 + n 1 ) b_1=a_1+\text{lcm}(a_1,a_1+1,\ldots ,a_1+n-1)

To maximize n n , we must minimize a 1 a_1 in order to make sure b 1 1000 b_1\le 1000 .

Thus, we set a 1 = 2 a_1=2 . Thus, we want 2 + lcm ( 2 , 3 , , n + 1 ) 1000 2+\text{lcm}(2,3,\ldots ,n+1)\le 1000

Checking successive numbers for n n , we see that n = 7 n=7 is the highest we can go such that 2 + lcm ( 2 , 3 , , n + 1 ) 1000 2+\text{lcm}(2,3,\ldots ,n+1)\le 1000 .

Thus, b 1 = 2 + lcm ( 2 , 3 , , 8 ) = 842 b_1=2+\text{lcm}(2,3,\ldots ,8)=842 and b 7 = 848 b_7=848 . Also, since a 1 = 2 a_1=2 we have a 7 = 8 a_7=8 . Finally, we have k = 7 k=7 . Thus, the answer is 7 + 8 + 848 = 863 7+8+848=\boxed{863} .


Checking, we do indeed have the following: 2 842 2\mid 842 3 843 3\mid 843 4 844 4\mid 844 5 845 5\mid 845 6 846 6\mid 846 7 847 7\mid 847 8 848 8\mid 848

Nice problem! :D How did you come up with it?

José Marín Guzmán - 6 years, 11 months ago

Log in to reply

This problem is actually my inspiration, although it barely has anything to do with it. A thing with my problems is that I first make the problem, THEN solve it. So I didn't know whether this idea was going to go through; it just happened that it worked out fine.

Daniel Liu - 6 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...