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!)
A010403 Squares mod 42. 1
0, 1, 4, 7, 9, 15, 16, 18, 21, 22, 25, 28, 30, 36, 37, 39 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Union[PowerMod[Range[42], 2, 42]] (* Alonso del Arte, Dec 21 2019 *)
PROG
(Sage) [quadratic_residues(42)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 42).map(n => (n * n) % 42).toSet.toSeq.sorted // Alonso del Arte, Dec 21 2019
CROSSREFS
Cf. A028755.
Sequence in context: A282058 A210497 A010383 * A032709 A243172 A370523
KEYWORD
nonn,fini,full,easy
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 01:02 EDT 2024. Contains 372497 sequences. (Running on oeis4.)