Problem

Source: Romania EGMO TST 2021 Day 2 P4

Tags: number theory, romania



Determine all non-negative integers $n$ for which there exist two relatively prime non-negative integers $x$ and $y$ and a positive integer $k\geqslant 2$ such that $3^n=x^k+y^k$.