OFFSET
1,1
MATHEMATICA
Complement[Range[0, 30], PowerMod[Range[31], 2, 31]] (* Alonso del Arte, Dec 31 2019 *)
PROG
(Scala) (0 to 30).diff((1 to 31).map(n => n * n % 31)) // Alonso del Arte, Dec 31 2019
CROSSREFS
KEYWORD
nonn,fini,full,easy
AUTHOR
STATUS
approved