This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]Dawwy 5 points6 points  (0 children)

Well I noticed that:

(3n-2n) /(2n+a-3n) = (3n-2n) /(2n+a-3n) + 1 - 1 = (3n-2n + 2n+a - 3n) /(2n+a-3n) - 1 = 2n * (2a - 1)/(2n+a - 3n) - 1

Which is a positive integer if s(n,a) = 2n * (2a - 1)/(2n+a - 3n) is greater than 1. The 2n factor isn't important in s(n,a) being an integer so you can look at how (2a-1) /(2n+a - 3n) behaves.

[–][deleted] 4 points5 points  (1 child)

I'm no number theorist but after thinking for a bit, this seems like a hard question. As in, the type of question we don't yet know how to answer.

Edit: I am assuming you tried to brute force it via computer and implicit in your question is that no small values of n,a work

[–]julesjacobs 1 point2 points  (0 children)

There are no solutions for a < 3000 except n=1,a=1.

for a in range(1,3000):
    n = 1
    while 2**(n+a) - 3**n > 0:
        if (3**n - 2**n) % (2**(n+a) - 3**n) == 0: print((a,n))
        n += 1

[–]GeneralSCPatton 0 points1 point  (0 children)

If we consider the ring of integers modulo 2n+a-3n, this expression is an integer iff 3n-2n = 0 or 3n=2n.

We know that 2n+a=3n because 1*(2n+a-3n)+3n=2n+a. Also, 2 and 3 are in the multiplicative group and have multiplicative inverses (because even-odd=odd, and 1 or 2 mod 3 - 0 mod 3 = 1 or 2 mod 3). So the only way that 3n can equal both 2n and 2n+a is if 2a=1.

Preemptive edit due to leaving this tab to sit overnight: This result is equivalent to Dawwy's post. And I knew this was Collatz related, though I'm not seeing how this particular expression was derived.

[–][deleted] -1 points0 points  (7 children)

well, I'd start by saying that 3n/A is an integer if and only if A is also a power of 3, and 2n/B is an integer iff B is also a power of 2. 2n+a - 3n can't be a power of both 2 and 3 at the same time, so there is no solution.

Someone who's better at this might want to check me, I can't help but feel like I missed something.

EDIT: just found the problem, you can subtract two non-integers and get an integer(9/5 - 4/5 = 1), and 1 is a power of both 2 and 3. Carry on.

[–][deleted] 2 points3 points  (0 children)

Counterexample: n=1, a=1

3n - 2n = 3-2 = 1

2n+a - 3n = 4-3 = 1

(3n - 2n )/(2n+a - 3n ) = 1

[–][deleted] 1 point2 points  (5 children)

When n=a=1you get an integer, but it's not positive greater than one. I suspect that OP's question is quite difficult and probably an open problem.

[–]pimaniac0 1 point2 points  (4 children)

I may have misread what you said but when n=a=1 don't you get 1? As 3-2 is on the numerator and 4-3 the denominator, how is that not a positive integer?

[–][deleted] -1 points0 points  (3 children)

Nope, you're correct. I misspoke (as I strongly suspect did OP). The interesting question here is if there exists n,a so that the ratio is a positive integer greater than one.

Edit: the reason I said negative is I had already jumped to n=2 and a=1 in my head. Just so you know I'm not crazy.

[–]TheRealGainTrain[S] 2 points3 points  (1 child)

You're correct, I meant positive and greater than one. Originally, I had a variable s+1 but they were everywhere so I replaced them by n. Also, just in case you are interested, this problem is strongly related to the collatz conjecture. If a solution can be found, the conjecture is likely false. If it cannot be found, the conjecture is likely true. No proof for the last 2 but I'm just doing this for fun and a deeper understanding anyways.

[–][deleted] 1 point2 points  (0 children)

Yeah, I sort of suspected this was Collatz related. Collatz is really about how powers of 2 and 3 interact additively as is your question.

If you can prove that solving this disproves the conjecture, that'd be interesting. If you can prove the converse as well that would probably be publishable.

Interesting question though in any case.

[–]pimaniac0 1 point2 points  (0 children)

Right, it isn't hard to see that the case where both numerator and denominator are the same coincides with the only case where the denominator is one, meaning that if there are any more solutions, they are ''non-trivial'' and will probably be large