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

A010407
Squares mod 46.
1
0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 16, 18, 23, 24, 25, 26, 27, 29, 31, 32, 35, 36, 39, 41
OFFSET
1,3
MATHEMATICA
Union[PowerMod[Range[46], 2, 46]] (* Alonso del Arte, Dec 23 2019 *)
PROG
(Sage) [quadratic_residues(46)] # Zerinvary Lajos, May 24 2009
(Scala) (1 to 46).map(n => (n * n) % 46).toSet.toSeq.sorted // Alonso del Arte, Dec 23 2019
CROSSREFS
Cf. A028759.
Sequence in context: A095037 A191284 A071403 * A035240 A278580 A028929
KEYWORD
nonn,fini,full,easy
STATUS
approved