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!)
A010458 Squares mod 97. 1
0, 1, 2, 3, 4, 6, 8, 9, 11, 12, 16, 18, 22, 24, 25, 27, 31, 32, 33, 35, 36, 43, 44, 47, 48, 49, 50, 53, 54, 61, 62, 64, 65, 66, 70, 72, 73, 75, 79, 81, 85, 86, 88, 89, 91, 93, 94, 95, 96 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Join[{0}, Select[Range[100], JacobiSymbol[#, 97] == 1 &]] (* Harvey P. Dale, May 19 2012 *)
Union[PowerMod[Range[97], 2, 97]] (* Vincenzo Librandi, Jan 29 2020 *)
PROG
(Sage) [quadratic_residues(97)] # Zerinvary Lajos, May 28 2009
(Scala) (1 to 97).map(n => n * n % 97).toSet.toSeq.sorted // Alonso del Arte, Jan 25 2020
(Magma) [n: n in [0..96] | IsSquare(R! n) where R:= ResidueClassRing(97)]; // Vincenzo Librandi, Jan 29 2020
CROSSREFS
Row 97 of A096008.
Cf. A028810.
Sequence in context: A333309 A282697 A002479 * A354620 A218980 A084829
KEYWORD
nonn,fini,full,easy
AUTHOR
EXTENSIONS
Inconsistent b-file removed by Sean A. Irvine, Apr 19 2019
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)