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!)
A010448 Squares mod 87. 1
0, 1, 4, 6, 7, 9, 13, 16, 22, 24, 25, 28, 30, 33, 34, 36, 42, 45, 49, 51, 52, 54, 57, 58, 63, 64, 67, 78, 81, 82 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

MATHEMATICA

Union[PowerMod[Range[87], 2, 87]] (* Alonso del Arte, Dec 29 2019 *)

PROG

(Sage) [quadratic_residues(87)] # Zerinvary Lajos, May 28 2009

(Scala) (1 to 87).map(n => n * n % 87).toSet.toSeq.sorted // Alonso del Arte, Dec 29 2019

(MAGMA) [n: n in [0..86] | IsSquare(R! n) where R:= ResidueClassRing(87)]; // Vincenzo Librandi, Dec 30 2019

CROSSREFS

Cf. A028800.

Sequence in context: A043337 A023710 A310657 * A005621 A140468 A342236

Adjacent sequences:  A010445 A010446 A010447 * A010449 A010450 A010451

KEYWORD

nonn,fini,full,easy

AUTHOR

N. J. A. Sloane

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 October 23 04:06 EDT 2021. Contains 348211 sequences. (Running on oeis4.)