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”).

A010381
Squares mod 19.
1
0, 1, 4, 5, 6, 7, 9, 11, 16, 17
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[19], 2, 19]] (* Alonso del Arte, Dec 19 2019 *)
PROG
(Sage) [quadratic_residues(19)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 19).map(n => (n * n) % 19).toSet.toSeq.sorted // Alonso del Arte, Dec 19 2019
CROSSREFS
Row 19 of A096008.
Cf. A028732.
Sequence in context: A260997 A192242 A209321 * A095033 A010399 A215046
KEYWORD
nonn,fini,full
STATUS
approved