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!)
A028771 Nonsquares mod 58. 1
2, 3, 8, 10, 11, 12, 14, 15, 17, 18, 19, 21, 26, 27, 31, 32, 37, 39, 40, 41, 43, 44, 46, 47, 48, 50, 55, 56 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

Complement[Range[0, 57], PowerMod[Range[58], 2, 58]] (* Alonso del Arte, Nov 29 2019 *)

PROG

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

(0 to 57).diff(squaresMod58) // Alonso del Arte, Nov 29 2019

CROSSREFS

Cf. A010419.

Sequence in context: A342849 A247580 A028742 * A023709 A317539 A047474

Adjacent sequences:  A028768 A028769 A028770 * A028772 A028773 A028774

KEYWORD

nonn,fini,full

AUTHOR

N. J. A. Sloane

EXTENSIONS

Incorrect term 29 removed by Alonso del Arte, Nov 29 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 April 12 15:00 EDT 2021. Contains 342921 sequences. (Running on oeis4.)