Problem

Source: 2008 Bulgarian Autumn Math Competition, Problem 9.3

Tags: number theory, Divisors, Natural Number, algebra, polynomial



Let $n$ be a natural number. Prove that if $n^5+n^4+1$ has $6$ divisors then $n^3-n+1$ is a square of an integer.