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!)
A010440 Squares mod 79. 1
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, 44, 45, 46, 49, 50, 51, 52, 55, 62, 64, 65, 67, 72, 73, 76 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

MATHEMATICA

Union[PowerMod[Range[79], 2, 79]] (* Alonso del Arte, Jan 22 2020 *)

PROG

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

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

(MAGMA) [n: n in [0..78] | IsSquare(R! n) where R:= ResidueClassRing(79)]; // Vincenzo Librandi, Jan 23 2020

CROSSREFS

Cf. A028792.

Sequence in context: A189633 A032891 A035262 * A072008 A175141 A072756

Adjacent sequences:  A010437 A010438 A010439 * A010441 A010442 A010443

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 May 12 23:35 EDT 2021. Contains 343829 sequences. (Running on oeis4.)