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!)
A028771 Nonsquares mod 58. 1

%I #10 Nov 29 2019 01:35:11

%S 2,3,8,10,11,12,14,15,17,18,19,21,26,27,31,32,37,39,40,41,43,44,46,47,

%T 48,50,55,56

%N Nonsquares mod 58.

%t Complement[Range[0, 57], PowerMod[Range[58], 2, 58]] (* _Alonso del Arte_, Nov 29 2019 *)

%o (Scala) val squaresMod58 = (1 to 58).map(n => n * n).map(_ % 58)

%o (0 to 57).diff(squaresMod58) // _Alonso del Arte_, Nov 29 2019

%Y Cf. A010419.

%K nonn,fini,full

%O 1,1

%A _N. J. A. Sloane_

%E Incorrect term 29 removed by _Alonso del Arte_, Nov 29 2019

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 19 02:28 EDT 2024. Contains 371782 sequences. (Running on oeis4.)