login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=1..49.

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 * A218980 A084829 A018649

Adjacent sequences:  A010455 A010456 A010457 * A010459 A010460 A010461

KEYWORD

nonn,fini,full,easy

AUTHOR

N. J. A. Sloane

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 9 11:06 EDT 2020. Contains 335543 sequences. (Running on oeis4.)