Qm

When is 2 to the n plus 1 divisible by 3?

Look at 2 to the n plus 1 for n = 1, 2, 3, 4, 5, 6: the values are 3, 5, 9, 17, 33, 65.

For which values of n is 2 to the n plus 1 divisible by 3? Prove it. Then answer the same question for 2 to the n minus 1.

Show a hint

What is the remainder of 2 when divided by 3? It is the same as the remainder of minus 1. Powers of minus 1 are easy.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

The last digit of seven to the seven to the sevenThe last two digits of seven to the power 2024A quick test for divisibility by 7A hundred animals for a hundred poundsThe missing digit of two to the twenty-ninth
All questions →