login
A028738
Nonsquares mod 25.
2
2, 3, 5, 7, 8, 10, 12, 13, 15, 17, 18, 20, 22, 23
OFFSET
1,1
MATHEMATICA
Complement[Range[0, 24], PowerMod[Range[0, 24], 2, 25]] (* Alonso del Arte, Nov 25 2019 *)
PROG
(Scala) val squaresMod25 = (0 to 24).map(n => n * n).map(_ % 25)
(0 to 24).diff(squaresMod25) // Alonso del Arte, Nov 25 2019
CROSSREFS
Cf. A010387.
Sequence in context: A364444 A062132 A003258 * A047222 A028763 A285977
KEYWORD
nonn,fini,full,easy
STATUS
approved