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

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