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!)
A010440 Squares mod 79. 1

%I #20 Sep 08 2022 08:44:37

%S 0,1,2,4,5,8,9,10,11,13,16,18,19,20,21,22,23,25,26,31,32,36,38,40,42,

%T 44,45,46,49,50,51,52,55,62,64,65,67,72,73,76

%N Squares mod 79.

%t Union[PowerMod[Range[79], 2, 79]] (* _Alonso del Arte_, Jan 22 2020 *)

%o (Sage) [quadratic_residues(79)] # _Zerinvary Lajos_, May 28 2009

%o (Scala) (1 to 79).map(n => n * n % 79).toSet.toSeq.sorted // _Alonso del Arte_, Jan 22 2020

%o (Magma) [n: n in [0..78] | IsSquare(R! n) where R:= ResidueClassRing(79)]; // _Vincenzo Librandi_, Jan 23 2020

%Y Cf. A028792.

%K nonn,fini,full,easy

%O 1,3

%A _N. J. A. Sloane_

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 April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)