login
A010417
Squares mod 56.
1
0, 1, 4, 8, 9, 16, 25, 28, 32, 36, 44, 49
OFFSET
1,3
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: A355060 A115651 A062559 * A155568 A353485 A371010
KEYWORD
nonn,fini,full,easy
STATUS
approved