login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Integers congruent to 0, 1, 4, 9, 16, 25, 36, 49, 64 or 81 (mod 100) which are not squares.
1

%I #4 Jan 08 2019 18:17:38

%S 101,104,109,116,125,136,149,164,181,200,201,204,209,216,236,249,264,

%T 281,300,301,304,309,316,325,336,349,364,381,401,404,409,416,425,436,

%U 449,464,481,500,501,504,509,516,525,536,549,564,581,600,601,604,609

%N Integers congruent to 0, 1, 4, 9, 16, 25, 36, 49, 64 or 81 (mod 100) which are not squares.

%D Mark A. Herkommer, Number Theory, A Programmer's Guide, McGraw-Hill, New York, 1999, page 315.

%t Select[ Range[615], (Mod[ #, 100] == 0 || Mod[ #, 100] == 1 || Mod[ #, 100] == 4 || Mod[ #, 100] == 9 || Mod[ #, 100] == 16 || Mod[ #, 100] == 25 || Mod[ #, 100] == 36 || Mod[ #, 100] == 49 || Mod[ #, 100] == 64 || Mod[ #, 100] == 81) && !IntegerQ[ Sqrt[ # ]] & ]

%t icQ[n_]:=!IntegerQ[Sqrt[n]]&&MemberQ[Range[0,9]^2,Mod[n,100]]; Select[ Range[ 700],icQ] (* _Harvey P. Dale_, Jan 08 2019 *)

%K easy,nonn

%O 1,1

%A _Robert G. Wilson v_, Mar 26 2003