login
A028744
Nonsquares mod 31.
1
3, 6, 11, 12, 13, 15, 17, 21, 22, 23, 24, 26, 27, 29, 30
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
Cf. A010392.
Sequence in context: A102889 A183543 A256108 * A028775 A223910 A022155
KEYWORD
nonn,fini,full,easy
STATUS
approved