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!)
A010417 Squares mod 56. 1
0, 1, 4, 8, 9, 16, 25, 28, 32, 36, 44, 49 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

MATHEMATICA

Union[PowerMod[Range[56], 2, 56]] (* Alonso del Arte, Dec 28 2019 *)

PROG

(Sage) [quadratic_residues(56)] # Zerinvary Lajos, May 24 2009

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

CROSSREFS

Cf. A028769.

Sequence in context: A002760 A115651 A062559 * A155568 A067252 A324723

Adjacent sequences:  A010414 A010415 A010416 * A010418 A010419 A010420

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 September 25 20:01 EDT 2021. Contains 347659 sequences. (Running on oeis4.)