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

%I #19 Dec 21 2019 18:23:34

%S 0,1,4,7,9,15,16,18

%N Squares mod 21.

%t Union[PowerMod[Range[21], 2, 21]] (* _Alonso del Arte_, Dec 21 2019 *)

%o (Sage) [quadratic_residues(21)] # _Zerinvary Lajos_, May 24 2009

%o (Scala) (1 to 21).map(n => (n * n) % 21).toSet.toSeq.sorted // _Alonso del Arte_, Dec 21 2019

%Y Row 21 of A096008.

%Y Cf. A028734.

%K nonn,fini,full,easy

%O 1,3

%A _N. J. A. Sloane_

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 April 25 12:28 EDT 2024. Contains 371969 sequences. (Running on oeis4.)