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