[go: up one dir, main page]

login
A010376
Squares mod 13.
7
0, 1, 3, 4, 9, 10, 12
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[13], 2, 13]] (* Alonso del Arte, Dec 13 2019 *)
PROG
(Sage) [quadratic_residues(13)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 13).map(n => (n * n) % 13).toSet.toSeq.sorted // Alonso del Arte, Dec 13 2019
CROSSREFS
Row 13 of A096008.
Cf. A028726.
Sequence in context: A109406 A280632 A178462 * A010388 A283973 A276672
KEYWORD
nonn,fini,full
STATUS
approved