OFFSET
1,1
MATHEMATICA
Complement[Range[0, 86], PowerMod[Range[87], 2, 87]] (* Alonso del Arte, Dec 29 2019 *)
PROG
(Scala) (0 to 86).diff((1 to 87).map(n => n * n % 87)) // Alonso del Arte, Dec 29 2019
(Magma) [n: n in [0..86] | not IsSquare(R! n) where R:= ResidueClassRing(87)]; // Vincenzo Librandi, Dec 30 2019
CROSSREFS
KEYWORD
nonn,fini,full,easy
AUTHOR
STATUS
approved