[go: up one dir, main page]

login
A010379
Squares mod 17.
3
0, 1, 2, 4, 8, 9, 13, 15, 16
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[17], 2, 17]] (* Alonso del Arte, Dec 17 2019 *)
PROG
(Sage) [quadratic_residues(17)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 17).map(n => (n * n) % 17).toSet.toSeq.sorted // Alonso del Arte, Dec 17 2019
CROSSREFS
Row 17 of A096008.
Sequence in context: A182852 A318083 A033858 * A010395 A136805 A372894
KEYWORD
nonn,fini,full
STATUS
approved