Problem

Source: XIV Rioplatense Mathematical Olympiad (2005), Level 3

Tags: floor function, number theory unsolved, number theory



Find all numbers $n$ that can be expressed in the form $n=k+2\lfloor\sqrt{k}\rfloor+2$ for some nonnegative integer $k$.