Problem

Source: Swiss Imo Selection 2006

Tags: number theory proposed, number theory



Let $n$ be natural number and $1=d_1<d_2<\ldots <d_k=n$ be the positive divisors of $n$. Find all $n$ such that $2n = d_5^2+ d_6^2 -1$.