|
|
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
|
|
|
|