OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[46], 2, 46]] (* Alonso del Arte, Dec 23 2019 *)
PROG
(Sage) [quadratic_residues(46)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 46).map(n => (n * n) % 46).toSet.toSeq.sorted // Alonso del Arte, Dec 23 2019
CROSSREFS
KEYWORD
nonn,fini,full,easy
AUTHOR
STATUS
approved