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!)
A010380 Squares mod 18. 1
0, 1, 4, 7, 9, 10, 13, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Union[PowerMod[Range[18], 2, 18]] (* Alonso del Arte, Dec 18 2019 *)
PROG
(Sage) [quadratic_residues(18)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 18).map(n => (n * n) % 18).toSet.toSeq.sorted // Alonso del Arte, Dec 18 2019
CROSSREFS
Row 18 of A096008.
Cf. A028731.
Sequence in context: A153053 A045752 A266410 * A358348 A056991 A242660
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 July 13 15:41 EDT 2024. Contains 374284 sequences. (Running on oeis4.)