login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010383 Squares mod 21. 1
0, 1, 4, 7, 9, 15, 16, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Union[PowerMod[Range[21], 2, 21]] (* Alonso del Arte, Dec 21 2019 *)
PROG
(Sage) [quadratic_residues(21)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 21).map(n => (n * n) % 21).toSet.toSeq.sorted // Alonso del Arte, Dec 21 2019
CROSSREFS
Row 21 of A096008.
Cf. A028734.
Sequence in context: A032778 A282058 A210497 * A010403 A032709 A243172
KEYWORD
nonn,fini,full,easy
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 13 18:54 EDT 2024. Contains 374285 sequences. (Running on oeis4.)