The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A010390 Squares mod 28. 1
0, 1, 4, 8, 9, 16, 21, 25 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Union[PowerMod[Range[28], 2, 28]] (* Alonso del Arte, Nov 28 2019 *)
PROG
(Sage) [quadratic_residues(28)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 28).map(n => n * n).map(_ % 28).toSet.toSeq.sorted // Alonso del Arte, Nov 28 2019
CROSSREFS
Cf. A028741.
Sequence in context: A324278 A119315 A346256 * A003624 A280387 A243180
KEYWORD
nonn,fini,full
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 May 13 18:50 EDT 2024. Contains 372522 sequences. (Running on oeis4.)