Multiply with three, add one, and remove the evenness!!

Jack defines a function as f 1 ( x ) = 3 x + 1 2 n , f_1 (x) = \dfrac{3x+1}{2^n}, where n n is the largest non-negative integer such that 3 x + 1 2 n \dfrac{3x+1}{2^n} is an integer. He also defines f k + 1 ( x ) = f 1 ( f k ( x ) ) . f_{k+1} (x)= f _1\big(f_k(x)\big).

Trying various numbers in this function, he somehow ends up finding a positive integer p < 100 p < 100 such that f p ( 2 111 1 ) = 3 q 2 r 1. f_p\big(2^{111} - 1\big) = 3^q \cdot 2^r - 1. He also notes that q q and r r are positive integers such that q > r q > r and gcd ( q , r ) > 8. \gcd(q,r) > 8.

What is the value of q r ? q - r ?


Inspired by a Collatz problem


The answer is 37.

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

Afkar Aulia
Aug 28, 2018

Note that f1 (3^a . 2^b - 1) = (3(3^a . 2^b - 1) + 1)/(2^n) = (3^(a+1) . 2^b - 2) / (2^n)

As long as b > 1, we know that (3^(a+1) . 2^b - 2) is even and (3^(a+1) . 2^b - 2) / 2 is odd.

Thus, we can see that f1 (3^a . 2^b - 1) = (3^(a+1) . 2^b - 2) / 2 = 3^(a+1) . 2^(b - 1) - 1.

If we apply it to the problem, we can see that q+r = 111.

Now that we know that gcd(q,r) > 8 and gcd (q,r) divides 111, we know that gcd (q,r) can only be 1, 3, or 37.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...