Find all positive integers $n$ such that there exists a prime number $p$ where $p^n - (p-1)^n$ is a power of $3$.

Note: A power of $3$ is a number of the form $3^a$, where $a$ is a positive integer.

Let's think step by step and output the final answer within \boxed{}.
user