Problem

Source: Iranian National Olympiad (3rd Round) 2008

Tags: number theory proposed, number theory



Let $ u$ be an odd number. Prove that $ \frac{3^{3u}-1}{3^u-1}$ can be written as sum of two squares.