login
A010390
Squares mod 28.
1
0, 1, 4, 8, 9, 16, 21, 25
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[28], 2, 28]] (* Alonso del Arte, Nov 28 2019 *)
PROG
(Sage) [quadratic_residues(28)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 28).map(n => n * n).map(_ % 28).toSet.toSeq.sorted // Alonso del Arte, Nov 28 2019
CROSSREFS
Cf. A028741.
Sequence in context: A324278 A119315 A346256 * A003624 A280387 A243180
KEYWORD
nonn,fini,full
STATUS
approved