Problem

Source: Bundeswettbewerb Mathematik 2017, Round 2 - #4

Tags: number theory, square, cube



We call a positive integer heinersch if it can be written as the sum of a positive square and positive cube. Prove: There are infinitely many heinersch numbers $h$, such that $h-1$ and $h+1$ are also heinersch.