login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010382 Squares mod 20. 7
0, 1, 4, 5, 9, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Range of A070442. - Reinhard Zumkeller, Apr 24 2009

LINKS

Table of n, a(n) for n=1..6.

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

Cf. A010378, A010462, A010421. - Reinhard Zumkeller, Apr 24 2009

Row 20 of A096008.

Cf. A028733.

Sequence in context: A217685 A251632 A049860 * A138673 A087948 A010437

Adjacent sequences:  A010379 A010380 A010381 * A010383 A010384 A010385

KEYWORD

nonn,fini,full,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 12:47 EDT 2020. Contains 334840 sequences. (Running on oeis4.)