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”).

A010391
Squares mod 29.
3
0, 1, 4, 5, 6, 7, 9, 13, 16, 20, 22, 23, 24, 25, 28
OFFSET
1,3
COMMENTS
A070451 sorted, duplicates removed. - R. J. Mathar, Jan 12 2024
MATHEMATICA
Union[PowerMod[Range[29], 2, 29]] (* Alonso del Arte, Nov 29 2019 *)
PROG
(Sage) [quadratic_residues(29)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 29).map(n => n * n).map(_ % 29).toSet.toSeq.sorted // Alonso del Arte, Nov 29 2019
CROSSREFS
Sequence in context: A008523 A047568 A139453 * A010419 A332486 A255137
KEYWORD
nonn,fini,full
STATUS
approved