OFFSET
1,3
MATHEMATICA
Join[{0}, Select[Range[100], JacobiSymbol[#, 97] == 1 &]] (* Harvey P. Dale, May 19 2012 *)
Union[PowerMod[Range[97], 2, 97]] (* Vincenzo Librandi, Jan 29 2020 *)
PROG
(Sage) [quadratic_residues(97)] # Zerinvary Lajos, May 28 2009
(Scala) (1 to 97).map(n => n * n % 97).toSet.toSeq.sorted // Alonso del Arte, Jan 25 2020
(Magma) [n: n in [0..96] | IsSquare(R! n) where R:= ResidueClassRing(97)]; // Vincenzo Librandi, Jan 29 2020
CROSSREFS
KEYWORD
nonn,fini,full,easy
AUTHOR
EXTENSIONS
Inconsistent b-file removed by Sean A. Irvine, Apr 19 2019
STATUS
approved