login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A010419
Squares mod 58.
2
0, 1, 4, 5, 6, 7, 9, 13, 16, 20, 22, 23, 24, 25, 28, 29, 30, 33, 34, 35, 36, 38, 42, 45, 49, 51, 52, 53, 54, 57
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[58], 2, 58]] (* Alonso del Arte, Nov 29 2019 *)
PROG
(Sage) [quadratic_residues(58)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 58).map(n => n * n).map(_ % 58).toSet.toSeq.sorted // Alonso del Arte, Nov 29 2019
CROSSREFS
Row 58 of A096008.
Sequence in context: A047568 A139453 A010391 * A332486 A255137 A047260
KEYWORD
nonn,fini,full
STATUS
approved