OFFSET
1,1
REFERENCES
Mark A. Herkommer, Number Theory, A Programmer's Guide, McGraw-Hill, New York, 1999, page 315.
MATHEMATICA
Select[ Range[546], (Mod[ #, 64] == 0 || Mod[ #, 64] == 1 || Mod[ #, 64] == 4 || Mod[ #, 64] == 9 || Mod[ #, 64] == 16 || Mod[ #, 64] == 25 || Mod[ #, 64] == 36 || Mod[ #, 64] == 49) && !IntegerQ[ Sqrt[ # ]] & ]
With[{nn=550}, Select[Complement[Range[nn], Range[Ceiling[ Sqrt[nn]]]^2], MemberQ[ {0, 1, 4, 9, 16, 25, 36, 49}, Mod[#, 64]]&]] (* Harvey P. Dale, Jul 26 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Mar 26 2003
STATUS
approved