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

 


A010389
Squares mod 27.
1
0, 1, 4, 7, 9, 10, 13, 16, 19, 22, 25
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[27], 2, 27]] (* Alonso del Arte, Nov 27 2019 *)
PROG
(Sage) [quadratic_residues(27)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 27).map(n => n * n).map(_ % 27).toSet.toSeq.sorted // Alonso del Arte, Nov 27 2019
CROSSREFS
Cf. A028740.
Sequence in context: A358348 A056991 A242660 * A010415 A010442 A055047
KEYWORD
nonn,fini,full
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 20 23:16 EDT 2024. Contains 376078 sequences. (Running on oeis4.)