login
A010382
Squares mod 20.
7
0, 1, 4, 5, 9, 16
OFFSET
1,3
COMMENTS
Range of A070442. - Reinhard Zumkeller, Apr 24 2009
MATHEMATICA
Union[PowerMod[Range[20], 2, 20]] (* Alonso del Arte, Dec 20 2019 *)
PROG
(Sage) [quadratic_residues(20)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 20).map(n => (n * n) % 20).toSet.toSeq.sorted // Alonso del Arte, Dec 20 2019
CROSSREFS
Row 20 of A096008.
Cf. A028733.
Sequence in context: A251632 A350695 A049860 * A138673 A087948 A010437
KEYWORD
nonn,fini,full,easy
STATUS
approved