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