Coding challenge

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.)

Type your code here:


Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: