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 August 10 03:56 EDT 2024. Contains 375044 sequences. (Running on oeis4.)