login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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