Write some code to show that for $n$ being an integer, if $2\sqrt{28n^2+1}+2$ is an integer, then $n$ is a perfect square. (From Andreescu p. 71, #3.)← Back to challenges | Lessons

Run Share Lua reference

Here is a share link to your code:

Close