STATUS
editing
approved
editing
approved
Select[Range[0, 1000], AllTrue[{Sqrt[#-Floor[Sqrt[#]]^2], Sqrt[2#-Floor[ Sqrt[ 2#]]^2]}, IntegerQ]&] (* _The program uses the AllTrue function from Mathematica version 10 *) (* _Harvey P. Dale_, Apr 25 2020 *)
approved
editing
editing
approved
Select[Range[0, 1000], AllTrue[{Sqrt[#-Floor[Sqrt[#]]^2], Sqrt[2#-Floor[ Sqrt[ 2#]]^2]}, IntegerQ]&] (* Harvey P. Dale, Apr 25 2020 *)
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
editing
proposed