4

What are the solutions in integers of $a^3+2a+1=2^b$?

[Source: Serbian competition problem]

simmons
  • 2,653

1 Answers1

1

My suggestion would be to start with a(a+2)=2b-1

  1. We also notice that when a is odd, a2+2 is odd. likewise if a is even, a2+2 is even
    i.) From here, we can generalize that since 2b-1 is odd for all integers a and b > 0, then a must always be odd

    ii.) We notice that the last digit of 2b-1 ossiclates between the numbers 1,3,7,5

    iii.)From ii.) the remaining values of the last digit of a can be reduced to 3, 5 and 7
    (i.e. b mod 4= 0 or 2 ; b is a multiple of 2)

Combining all the conditions, we can form the diophantine equation: a(a2+2)=(2b+1)(2b-1)

drewyu
  • 36
  • As far as I can see, $2^b-1$ and $2^b+1$ are always consecutive odd numbers. – egreg Jun 25 '15 at 17:41
  • You can say it in a more simple way: $a^3 + 2a \equiv 0\pmod 3$, $2^b\equiv (-1)^b\pmod 3$; therefore $1\equiv (-1)^b \pmod 3$, and $b=2b_1$. – Michael Galuza Jun 28 '15 at 08:23